httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] New user looking for .htaccess help
Date Fri, 25 Jun 2004 08:28:43 GMT
> -----Original Message-----
> From: Domains []
> Sent: Freitag, 25. Juni 2004 01:18
> To:
> Subject: [users@httpd] New user looking for .htaccess help
> I apologize in advance if I have sent this to the incorrect 
> e-mail address location.  I am new to this type of 
> researching for answers to problems.  Any help is appreciated.

This is quite the right list - but your post leaves out some crucial
information. In particular, the apache version and OS are critical to
this question since the behaviour is different between apache 1.3 and
apache 2.

> Recently we were asked to password protect a directory for 
> one of our web clients.  Our client is looking to allow 
> access to certain directories on there website based on user 
> name & password.  In doing so the client created a main 
> directory called access and within it is a listing of 
> sub-directories.  Each sub-directory has it's own .htaccess 
> file which states which users are allowed to access those 
> directories.  The problem we have encountered though is that 
> when you go to the access directory via the clients website 
> you do not see the listing of directories.  If I take the 
> .htaccess file out the directory appears.  

Sounds like you have apache 2. This question came up a few times in the
past and you can read about it here:
. This link also contains a code snippet to modify the behaviour.

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

> We have found the following article on the internet about 
> this problem and we were hoping to get some insight on how to 
> keep the .htaccess file in the directory but allow the end 
> user to see the directory listing also.
> tp://
> Thanks
> Karin :)
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