httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mick England <>
Subject Re: [users@httpd] Problem with AuthPAM_Enabled' error in Apache2
Date Wed, 09 Nov 2005 22:17:57 GMT
Thanks for the reply. Here is the .htaccess file:

AuthType Basic
AuthUserFile /home/othersite/users
AddHandler cgi-script .cgi
AuthName "Intranet"
require user admin

As I said it relates to a complete different domain and does not sit in
DocumentRoot of the VirtualHost I am trying to test. If I use the
correct uername and password I can nevertheless access the files at
/home/hosts/test through the URL: my.domain:8000/

Kind of wierd I know but this is what is happening.

I checked the VirtualHost file. Don't know where the one I copied in the
mail came from but it does have a ServerName and <VirtualHost *> in the
one on the server.

Joshua Slive wrote:

>On 11/9/05, Mick England <> wrote:
>>In the error logs I see the following:wswsor
>>[Wed Nov 09 15:03:51 2005] [alert] [client] /.htaccess:
>>Invalid command 'AuthPAM_Enabled', perhaps mis-spelled or defined by a
>>module not included in the server configuration
>So what exactly is in the .htaccess file?  That is your problem.
>>My VirtualHost file contains the following: [Domain name hidden]
>>NameVirtualHost *
>>DocumentRoot /home/hosts/test
>>ErrorLog /var/log/apache2/
>>CustomLog /home/test/log/ common
>><Directory /home/hosts/test>
>>Order allow,deny
>>Allow from all
>This probably isn't relevant, but that is a bad config.  If you are
>doing name-based virtual hosting, that should be <VirtualHost *> and
>you need a ServerName directive.  See the name-based virtual hosting
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:> for more info.
>To unsubscribe, e-mail:
>   "   from the digest:
>For additional commands, e-mail:

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message