...

View Full Version : .htaccess & .htpasswd



zantor
06-29-2005, 06:57 PM
:confused: i dont get it plz help, i have a .htaccess to stop people from assessing that directory by a pass word but i just comes up with a 500 internl error i have named them propaly and set allowoveride to all so im so confused? by the way i am also using windows 2003 server, below are the .htaccess code and .htpasswd

.htaccess
AuthUserFile c:\Program Files\?????\.htpasswd
AuthType Basic
AuthName "My Files"
Require valid-user

.htpasswd
zantor:???????????

????= apropiat infomation not needed to be shown!

anyhelp would be greatly apreashated, thanks :thumbsup:

gsnedders
06-29-2005, 06:59 PM
What server are you using? If your using ISS they won't work.

zantor
06-29-2005, 07:08 PM
i am using easyPHP wich has apache and mysql in!

oracleguy
06-29-2005, 07:33 PM
What server are you using? If your using ISS they won't work.

You mean IIS, Internet Information Services.

zantor
06-29-2005, 07:38 PM
no it is not iss just easyPHP wich comes with apache

schleppel
06-29-2005, 08:01 PM
it might be a problem with the space in the path, try putting the .htpasswd file somewhere else, or, it might be the c:\ bit, try just \

JamieR
07-01-2005, 05:43 PM
You got Apache set up correctly? I've seen these errors before caused by config problems...



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum