SV: .htaccess files and apache

Trond Husø tr-huso at online.no
Fri Apr 30 12:10:48 UTC 2004


Here is some more information. 
I want to get passwords and username to work, and the lines I am using is:
#-----------------
AuthPAM_Enabled on
order allow,deny
allow from all
require group site2
Authname Passordsikret
Authtype Basic
AuthAuthoritative off
#------------------

In /var/log/messages I get this error:
httpd(pam_unix)[XXXX]: authentication failure; logname= uid=xx euid=xx tty= ruser= rhost=  user=xxxx

In /var/log/httpd/error_log I get:
[error] [client xxx.xxx.x.x] PAM: user 'xxxxxxxxx' - not authenticated: Authentication failure

(X's set in to hide numbers and usernames)

Hope this helps someone to see what's wrong.

-Trond-


> -----Opprinnelig melding-----
> Fra: fedora-list-bounces at redhat.com [mailto:fedora-list-bounces at redhat.com]
> På vegne av Alexander Dalloz
> Sendt: 30. april 2004 13:57
> Til: For users of Fedora Core releases
> Emne: Re: .htaccess files and apache
> 
> Am Fr, den 30.04.2004 schrieb Trond Husø um 08:39:
> 
> > I put in the following line which didn't help...
> >
> > <Directory "/home/sites/%0/web">
> >         AllowOverride All
> > </Directory>
> >
> > # %0 is used since there are virtualhosts on the boks and the directory
> > under sites is called f.instans www.home.net
> > I've also noticed this:
> > <Directory />
> >     Options FollowSymLinks
> >     AllowOverride None
> > </Directory>
> > And was wondering if I should change none to all, but I bet that would
> > be a security risk.
> 
> Why using "All" if all you need to get what you want is "AllowOverride"?
> 
> > Yours,
> > Trond Husø
> 
> Alexander
> 
> 
> --
> Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
> Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2188.nptl
> Sirendipity 13:54:56 up 3 days, 12:43, load average: 0.48, 0.50, 0.45
>                    [ Γνωθι σ'αυτον - gnothi seauton ]
>              my life is a planetarium - and you are the stars





More information about the users mailing list