Jump to content

Apache password protect config


Recommended Posts

i am password protecting a directory with an .htaccess file. here is the code in the .htaccess :

AuthType Basic
AuthName Proxy
AuthUserFile /var/www/passwd/password
AuthGroupFile /var/www/passwd/group
Require group Group

i have the password and group files setup correctly, and the password protection works great.

But, i'd like to have the password prompt everytime. Right now, if i access this particular directory, put in the login info, and surf around in the directory it works great. if i close my browser and open it back up, go to this directory, it doesn't ask for password again. the only way i can get it to ask is if i clear my temp files and cookies.

is my apache server automatically spitting out cookies or something?

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...