ZenphotoCMS Forum
How to disable directory listing in lighttpd? - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: How to disable directory listing in lighttpd? (/thread-5445.html)



How to disable directory listing in lighttpd? - m1c4a1 - 2009-07-07

I'm using lighttpd (version 1.4.20) on Linux and I have directory listing enabled in my configuration file:
dir-listing.activate = "enable"
But I want to disable it for Zenphoto galeries (especially for password-secured directories). Although I tried several combinations, I have no clue how to do it. This is one of my unsuccessful attempts, which should exclude ~/public_html/secret_gallery from directory listing:
dir-listing.exclude = ("^\.", "~$", "~/secret_gallery($|/)")

Did you already find a solution how to do it?




How to disable directory listing in lighttpd? - acrylian - 2009-07-07

Sorry, I don't know anything about lighttpd. Why don't you ask your host (if you are not selfhosting), mine has an backend option for that.?




How to disable directory listing in lighttpd? - m1c4a1 - 2009-07-07

It's because I'm the host. :-)
Maybe someone experienced with lighttpd find this thread someday. :-)