httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Leder <sa212+mi...@cyconix.com>
Subject Re: [users@httpd] Falling off the end of a directory listing
Date Fri, 24 Jul 2009 16:30:48 GMT
Bob Ionescu wrote:
> 2009/7/22 Paul Leder <sa212+mingw@cyconix.com>:
>> Problem: is there some way to allow a directory listing which includes a
>> 'parent' link, but *only* up to a specified top level?
> 
> May be you can restrict
> IndexIgnore .*
> to some folders via DirectoryMatch (don't know if terminating with $
> works to prevent inheritance ^/var/www/html/foo/downloads$)

Thanks - I've just been through this in detail, but I can't get it to 
work. In fact, DirectoryMatch doesn't even work with a '$' - it misses 
the match. I've tried lots of combinations of the basic

<DirectoryMatch "^/var/www/html/foo/downloads$">

with and without the $, the quotes, and the ^, and nothing with the $ 
successfully matches the directory.

I've also tried splitting the lower-level directories off as symlinks, 
but nothing seems to work - IndexIgnore inheritance seems to be unbreakable.

See this bugzilla entry for general whingeing on exactly this:

https://issues.apache.org/bugzilla/show_bug.cgi?id=24243

Cheers

-Paul

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