You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ian L <ap...@merk.caltech.edu> on 2004/06/17 01:28:38 UTC
[users@httpd] 2.0.48 user auth not working
I'm trying to password protect a directory under apache, but apache isnt
asking for a password. Its letting me view html and executing cgi pages. I
used pretty much the same config on another site running on this machine
and that is working. This one though just acts like there's no
authentication at all.
Any idea what i did wrong? (i did restart apache) here's the relevant conf
file section:
<VirtualHost xxx.xxx.xxx.xxx.:80>
ServerName domain.name
DocumentRoot /disk/whis-site
CustomLog logs/access_log_whis combined
<Directory /disk/whis/phppgadmin>
Options +ExecCGI
AuthType Basic
AuthName "Whis"
AuthUserFile /disk/whis_PassFile
Require valid-user
</Directory>
</VirtualHost>
thanks
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] 2.0.48 user auth not working
Posted by Tim Burden <ti...@burden.ca>.
DocumentRoot /disk/whis-site
would not contain
<Directory /disk/whis/phppgadmin>
unless I missed an alias somewhere.
----- Original Message -----
From: "Ian L" <ap...@merk.caltech.edu>
To: <us...@httpd.apache.org>
Sent: Wednesday, June 16, 2004 7:28 PM
Subject: [users@httpd] 2.0.48 user auth not working
> I'm trying to password protect a directory under apache, but apache isnt
> asking for a password. Its letting me view html and executing cgi pages. I
> used pretty much the same config on another site running on this machine
> and that is working. This one though just acts like there's no
> authentication at all.
>
> Any idea what i did wrong? (i did restart apache) here's the relevant
conf
> file section:
>
> <VirtualHost xxx.xxx.xxx.xxx.:80>
> ServerName domain.name
> DocumentRoot /disk/whis-site
> CustomLog logs/access_log_whis combined
> <Directory /disk/whis/phppgadmin>
> Options +ExecCGI
> AuthType Basic
> AuthName "Whis"
> AuthUserFile /disk/whis_PassFile
> Require valid-user
> </Directory>
> </VirtualHost>
>
> thanks
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org