You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Manilal K M <li...@gmail.com> on 2006/03/14 09:55:12 UTC
[users@httpd] Basic Authentication not working in Gentoo Linux
Hello all,
I am a newbie in apache, less than 2 weeks of experience. I am
trying to protect one of my directory in the web server with Basic
authentication. I am using Gentoo Linux with apache-2.0.55. I see that
auth_module is loaded as a Module. I have configured the Virtual Host
like this. The problem is that the login dialog box never appears in
the browser and the web page is immediately displayed. The
configuration I used is (from /etc/apache2/httpd.conf):
user backuppc
group backuppc
<VirtualHost anaconda.localhost.com:80>
DocumentRoot /var/www/localhost/cgi-bin/BackupPC
ServerAdmin root@anaconda.localhost.com
ServerName anaconda.localhost.com
ErrorLog logs/anaconda.localhost.com-error_log
CustomLog logs/anaconda.localhost.comaccess_log common
<Directory /var/www/localhost/cgi-bin/BackupPC>
Options FollowSymLinks
Options +ExecCGI
AuthName "Tiger Login:"
AllowOverride AuthConfig
AuthType Basic
AuthUserFile /usr/local/etc/htpasswd
Require user libregeek
</Directory>
</VirtualHost
I am able to run the same setup in my Fedora Core 4 server. But it
fails in the Gentoo Server. I can't get what had gone wrong. I
searched the MARC archives, but couldn't find a workable solution.
Please help me. I am in great trouble.
I can't find anything wrong in either syslog or apache log. Any help
would be appreciable.
regards
Manilal
Re: [users@httpd] Basic Authentication not working in Gentoo Linux
Posted by Manilal K M <li...@gmail.com>.
On 14/03/06, Nick Kew <ni...@webthing.com> wrote:
> On Tuesday 14 March 2006 08:55, Manilal K M wrote:
>
> > <VirtualHost anaconda.localhost.com:80>
>
> So you're "Wraith Enterprises" of Texas?
I didn't got you :) I just put a arbitrary hostname.
Re: [users@httpd] Basic Authentication not working in Gentoo Linux
Posted by Nick Kew <ni...@webthing.com>.
On Tuesday 14 March 2006 08:55, Manilal K M wrote:
> <VirtualHost anaconda.localhost.com:80>
So you're "Wraith Enterprises" of Texas?
--
Nick Kew
---------------------------------------------------------------------
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