1 Apr 2008 20:20
Re: Disabling Directory indexing is on in cherokee
Taher Shihadeh <taher <at> unixwars.com>
2008-04-01 18:20:56 GMT
2008-04-01 18:20:56 GMT
Hi Shane! On Tuesday 01 April 2008 19:29:07, Shane Volpe wrote: > It has been a very good conversation but back to my original question: > I want to disable the automatic directory (file) indexing (listing ?) > so the contents of a directory on my system will not get served up on > a web page. What would be the 0.6 Cherokee syntax to do this in the > config file? I've reviewed what I sent you in the last message and I can't believe I actually forgot to answer the original question X-) I think you need the handler named 'file'. For example this prevents the directory indexing of the '/images' directory on my default Virtual Server. vserver!default!directory!/images!priority = 100099 vserver!default!directory!/images!only_secure = 0 vserver!default!directory!/images!handler = file vserver!default!directory!/images!handler!iocache = 1 That is what cherokee-admin spits directly. I've just made the test and the Handler I selected for this (in Virtual Servers-> default ->Behaviour tab) is called 'Static content' Regards, Taher -- -- taher <at> unixwars.com http://unixwars.com
RSS Feed