View previous topic :: View next topic |
Author |
Message |
Evileye l33t
Joined: 06 Aug 2003 Posts: 782 Location: Toronto
|
Posted: Fri Feb 25, 2011 7:06 pm Post subject: Getting .htacess to work (SOLVED) |
|
|
Hello everyone,
I am trying to get .htaccess to work. I have the .htaccess file in the directory I want protected but it isn't working. Here is the contents of my .htaccess file...
Code: | AuthType Basic
AuthName "SecretDirectory"
AuthUserFile /home/jason/.htpasswd
<Limit GET>
require valid-user
</Limit> |
I am using apache 2.2.16. Anyone know how to get it working?
Last edited by Evileye on Fri Feb 25, 2011 7:15 pm; edited 1 time in total |
|
Back to top |
|
|
Evileye l33t
Joined: 06 Aug 2003 Posts: 782 Location: Toronto
|
Posted: Fri Feb 25, 2011 7:15 pm Post subject: |
|
|
Never mind, I figured it out.
I just had to change a setting in /etc/apache2/modules.d/00_default_settings.conf.
I changed
to
|
|
Back to top |
|
|
|