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?