Apache Server configuration support - htaccess, directories not visible in parent directory listing

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > February 2006 > htaccess, directories not visible in parent directory listing





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author htaccess, directories not visible in parent directory listing
sorinm@gmail.com

2006-02-17, 10:30 pm

Hi,

I use apache 2.0.54 and 2.2.0.

Directory "parent" has "Options all", there's no index.html in parent,
therefore the listing is generated automatically by apache. In "parent"
I have a subdirectory "child", and in "child" I have a .htaccess file.
In order to see the contents of "child", the client must provide a user
and password.

My problem is that "child" does not appear in the directory listing of
"parent". I suspect this is a feature of apache 2. However, in apache
1.3.28 I was able to see "child" listed in "parent", and I would like
to keep this behaviour.

Thank you for any suggestions.

Sorin

Justin Koivisto

2006-02-17, 10:30 pm

sorinm@gmail.com wrote:
> Hi,
>
> I use apache 2.0.54 and 2.2.0.
>
> Directory "parent" has "Options all", there's no index.html in parent,
> therefore the listing is generated automatically by apache. In "parent"
> I have a subdirectory "child", and in "child" I have a .htaccess file.
> In order to see the contents of "child", the client must provide a user
> and password.
>
> My problem is that "child" does not appear in the directory listing of
> "parent". I suspect this is a feature of apache 2. However, in apache
> 1.3.28 I was able to see "child" listed in "parent", and I would like
> to keep this behaviour.
>
> Thank you for any suggestions.


I too posted this same questions a few months ago w/o reply. Hopefully,
someone will come back with an answer this time as I haven't had the
time to really look into it yet.

--Justin
*** Free account sponsored by SecureIX.com ***
*** Encrypt your Internet usage with a free VPN account from http://www.SecureIX.com ***
sorinm@gmail.com

2006-02-17, 10:30 pm

Maybe the answer's here:
http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html
IndexOptions ShowForbidden
I have not yet tested it, as I currently run 2.0.54, and 2.0.x do not
have this option.

I have no solution yet for 2.0.54

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com