[ale] apache2 .htaccess?
Adrin
haswes at mindspring.com
Fri Jun 13 07:15:25 EDT 2003
Make sure you close your browser before each test. Some browser will also cache the
password.
There is also setting in the http.conf that could be overriding your <directory>
You may want to make sure that
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
exist in the http.conf and that nothing else resets this setting.
I also have the setting
<Files ~ "^\.htaccess">
Order allow,deny
Deny from all
Satisfy All
</Files>
Also in my http.conf
Just remember I am not a pro.
Adrin
> -----Original Message-----
> From: ale-admin at ale.org [mailto:ale-admin at ale.org]On Behalf Of
> Christopher Bergeron
> Sent: Thursday, June 12, 2003 11:54 PM
> To: ale at ale.org
> Subject: Re: [ale] apache2 .htaccess?
>
>
> Robert, are you certain that your file path is correct? I had a very
> similar issue, but it turned out to be an inconsistent relative path to
> the access file(s). Have you tailed (tail -f ) your
> /var/www/logs/access_log and error_logs while hitting the site with a
> browser? If so, does it give you any specific errors?
>
>
> -CB
>
>
>
>
> Robert L. Harris wrote:
>
> > I just installed a new apache2 server and need to lock down a
> >directory with a .htaccess file before it goes live. Everything looks
> >right but I'm missing something...
> >
> >my apache2.conf has all of this:
> >
> >AccessFileName .htaccess
> ><Directory /cgi-bin/duck/admin>
> > AllowOverride All
> > Order deny,allow
> > Deny from all
> ></Directory>
> >
> >
> >the file /var/www/cgi-bin/duck/admin/.htaccess has this:
> >
> >-rwxr-xr-x 1 www-data www-data 174 Apr 15 10:40
> /var/www/cgi-bin/duck/admin/.htaccess
> >
> >{0}:/>cat /var/www/cgi-bin/duck/admin/.htaccess
> >AuthType Basic
> >AuthName "Password Required"
> >AuthUserFile /var/www/passwords/password.file.duckadmin
> >#AuthGroupFile /var/www/passwords/group.file
> >Require user nomad mamma
> >
> >the password file looks like this:
> >
> >-rw-r----- 1 www-data www-data 40 Jun 12 20:51
> /var/www/passwords/password.file.duckadmin
> >
> >{0}:/etc/apache2>cat /var/www/passwords/password.file.duckadmin
> >mamma:BoAvyKzxzvqOo
> >nomad:F38BfSBwqSulo
> >
> >
> >
> >If I hit site:/cgi-bin/duck/admin/index.html it loads up just fine
> >without a prompt for any passwords.
> >
> >Any one able to point me to what's horked up in this Apache2 config?
> >
> >Robert
> >
> >:wq!
> >---------------------------------------------------------------------------
> >Robert L. Harris | GPG Key ID: E344DA3B
> > @ x-hkp://pgp.mit.edu
> >DISCLAIMER:
> > These are MY OPINIONS ALONE. I speak for no-one else.
> >
> >Diagnosis: witzelsucht
> >
> >IPv6 = robert at ipv6.rdlg.net http://ipv6.rdlg.net
> >IPv4 = robert at mail.rdlg.net http://www.rdlg.net
> >
> >
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list