Geoffrey Young wrote:

well, if there are absolutely no real files at all, then I don't think DirectoryIndex will work - mod_dir only applies DirectoryIndex when $r->filename ends up being a real directory (a $r->content_type of DIR_MAGIC_TYPE). but other than that it looks ok :)

so, if that doesn't work I might try using mod_perl to alter mod_dir's
behavior to set the ct to DIR_MAGIC_TYPE when you need it (over rewriting
mod_autoindex).

HTH

Yes, in order to make it work, I ended up making the handler be called /virtual/indexer, created a /virtual dir, did a global alias of /virtual to that dir, and created an empty file named indexer. DirectoryIndex said "oh hey there IS a file!", but the execution got properly handed off to mod_perl when it came time to actually call /virtual/indexer.


It's working very well now, though, thank you. :)

--
Rando Christensen
<[EMAIL PROTECTED]>

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to