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)
-   -   password protection (https://gfy.com/showthread.php?t=80820)

dapproid 10-06-2002 08:27 AM

password protection
 
I want to password protect one section of my site and everyone said that .htaccess is great on apache servers. I tried it, and now I can't access it. When I press the OK button a new query pop up and after that I get: Authorization Required

This is my .htaccess file:

AuthUserFile /var/www/html/mysection/.htpasswd
AuthName mysection
AuthType Basic
<Limit GET>
require valid-user
</Limit>


And this is the .htpasswd file:

username:password


Anyone that recognize this problem??

darksoul 10-06-2002 08:53 AM

is .htpasswd in the right place ?
did you created the .htpasswd file with the htpasswd program ?

dapproid 10-06-2002 09:13 AM

uhm, no i didn't use a password creator, where can i find that?

Maqua 10-06-2002 12:55 PM

http://www.inch.com/info/tech/HOWTOS.../htpasswd.html :)


All times are GMT -7. The time now is 11:56 AM.

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