httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] Problems with mod_auth configuration using apache 2.0.55 ...
Date Tue, 11 Apr 2006 06:57:20 GMT
> -----Original Message-----
> Sent: Dienstag, 11. April 2006 03:59
> To:
> Subject: [users@httpd] Problems with mod_auth configuration 
> using apache 2.0.55 ...
> Hello,
> I'm having a terrible time configuring something that is 
> pretty basic with apache and I'm not sure what I'm missing.  
> I have a new apache 2.0.55 install (on redhat 3.0) with 
> mod_auth built in (the default).  I am trying to put some 
> basic authentication on some directories off of the the 
> docroot, but no matter what I do, I don't get the 
> authentication challenge when accessing the directory.  
> Here's my httpd.conf virtual host:
> <VirtualHost>
>     ServerAdmin
>     DocumentRoot /u01/webpages/sparky
>     ServerName
>     ErrorLog /u01/logs/
>     CustomLog /u01/logs/ combined

>         <Directory /blah >

This is probably the most important line in the config... but you've munged it for "security"
reasons so there's no way to tell if this is the problem or not.

I think Matt suspects you've put a URI-path here rather than a filesystem path so start there.

If that doesn't fix it, post back an unadulterated config or, if you must, replace the paths
with symbols that make sense, eg:

replace /home/matthew/www/html with /dir1/dir2/dir3/html instead of just /blah, which we can't
tell what it's supposed to mean...

Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

>         AuthType Basic
>         AuthName "Sparky Realm"
>         AuthUserFile /u01/app/apache2055/users
>         Options Indexes
>         Require valid-user
>         </Directory>
> </VirtualHost>
> I've already created the user/password file with htpasswd.  I 
> am not using .htaccess files (I don't think this is 
> necessary) since the documentation states I can either edit 
> the httpd.conf file, or put the settings within an .htaccess file.
> I'm not sure what I'm missing here.  I know it must be 
> something very basic, but I'm just missing it.
> Any assistance would be much appreciated.
> Thanks,
> Matt
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen Bezug zur Börsen-
bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a private and personal nature.
It is not related to the exchange or business activities of the SWX Group. Le présent e-mail
est un message privé et personnel, sans rapport avec l'activité boursière du Groupe SWX.
This message is for the named person's use only. It may contain confidential, proprietary
or legally privileged information. No confidentiality or privilege is waived or lost by any
mistransmission. If you receive this message in error, please notify the sender urgently and
then immediately delete the message and any copies of it from your system. Please also immediately
destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail communications through their
networks. Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorised to state them to be the views of
the sender's company.

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