![]() |
Absolute Beginners htaccess
I have the following setting and it is not working.I have studied many tutorials on .htaccess,but they didn't help at all.
First about the locations of directories. ////////// DIRECTORIES/////////// D:wamp/www/sitename sitename -> .htaccess sitename ->..htpasswd The files ////////// FILE /////////// --------------- .htaccess AuthUserFile .htpasswd AuthGroupFile /dev/null AuthName EnterPassword AuthType Basic require user wsabstract .htpasswd htuser:htpass when I open the index.php.As I enter I get the error number 500. or even when i cancel it. Thanks in ADVANCE. |
AuthGroupFile needs to point to the directory location of the corresponding htpasswd file.
|
AuthUserFile "sitename/.htpasswd"
AuthGroupFile "sitename/.htpasswd" AuthName EnterPassword AuthType Basic require valid-user And it is still not working.It is the error 500 I get. For AuthUserFile and AuthGroupFile I tried even "http://localhost/sitename/.htaccess" and "www/sitename/.htaccess" Can anyone send me a zip containing these files Please. It will really appreciated. here is the Url I uploaded. __http://rapidshare.com/files/198818523/sitename.zip.html |
| All times are GMT. The time now is 03:41 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0