httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Taylor <ch...@x-bb.org>
Subject Re: [users@httpd] directory listings vanish in directories that contain .htaccess
Date Tue, 05 Nov 2002 22:04:04 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yeah, this is an Apache 2 feature unfortunately. It pre-checks each
dir for a response code, the protected ones will return 403
(forbidden) because of how this works. There is no way around it
using the Apache directory engine, although I did request a while
back that this be turned into an option, not a standard thing.

The only fallback is Apache 1.3, which (AFAIK) doesn't have this
issue. I used it until 1.3.26 anyway, and it was fine then.

HTH.

Chris Taylor - chris@x-bb.org - The guy with the PS2 WebServer -
http://www.x-bb.org/chris.asc

- ----- Original Message ----- 
From: "Darin Ginther" <dginther@broadjump.com>
To: <users@httpd.apache.org>
Sent: Tuesday, November 05, 2002 9:14 PM
Subject: [users@httpd] directory listings vanish in directories that
contain .htaccess


Hey guys, 
I'm fairly new to Apache, but I have RTFM, searched google, and have
actually read the archives regarding most of the apache posts.  If
anyone can help me with this problem, it would be greatly
appreciated.

Apache 2.0.40 on RH 7.3.

Basically, I'm password protecting some directories using .htaccess
files:

http://myserver/myfolder 

Such a url results in a box pop-up and the user is prompted for a
password.

The problem is, that under
http://myserver

I can see ALL folders except for the one with the .htaccess file in
it... That is "myfolder" isn't listed in the index any longer.

Since I RTFM, I made sure of the following:
<Directory />
    Options FollowSymLinks Indexes
    AllowOverride AuthConfig Options
</Directory>

<Directory "/usr/local/apache/htdocs">
    Options Indexes FollowSymLinks
    AllowOverride AuthConfig Options
</Directory>


I even went so far as to include the following in my .htaccess:
Options +Indexes



Still, this folder doesn't show up off of DocumentRoot as a listed
directory.  If I remove the .htaccess file, it shows up just fine...
Any ideas?

- -D. ginther


- ---------------------------------------------------------------------
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

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPchAUSqf8lmE2RZkEQKM9wCfVWGnEpcBsx44904Yy2LnTFYJTAIAn3mu
LNPgFnjGsgFd9Dk6q40BMKcU
=jgpH
-----END PGP SIGNATURE-----



---------------------------------------------------------------------
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


Mime
View raw message