GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   WTF is wrong with this .htaccess file??? (https://gfy.com/showthread.php?t=125988)

donnie 04-17-2003 02:07 AM

WTF is wrong with this .htaccess file???
 
I want to password protect one of my sites but I have never done it with .htaccess files. I tryed this one but it is not working.
This is the code I have:

AuthUserFile /test/.htpasswd
AuthGroupFile /dev/null
AuthName EnterPassword
AuthType Basic
Require valid-user

Danielle 04-17-2003 02:17 AM

Make sure AuthUserFile is the full machine path to the .htpasswd file. Not a relative path.

Example.

/home/httpd/domainname.com/test/.htpasswd

Hugs,
Danielle


All times are GMT -7. The time now is 05:27 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123