CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Apache configuration (http://www.codingforums.com/forumdisplay.php?f=69)
-   -   What is wrong with my htaccess file? (http://www.codingforums.com/showthread.php?t=22770)

MisterB 07-04-2003 10:53 PM

What is wrong with my htaccess file?
 
I placed this in one of my folders, and I placed the .htpasswd file where it is listed, and I get an internal server error when i try and access any file in that folder, or the folder itself:

AuthUserFile /home/MisterB/.htpasswd
AuthGroupFile /dev/null
AuthName Enter Code
AuthType Basic

require user misterb




What am I doing wrong?

EDIT:

When I switched out that htaccess file with this one below, I got a pop up box request for username/password, but I didn't give it a password!

AuthType Basic
AuthUserFile .htpasswd
AuthName "Register"
require user misterb



I'm confused how this is supposed to work. :confused:


All times are GMT +1. The time now is 07:47 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.