I know about the
... and that works fine for me (with index.cgi being a Perl script). But if, for a given directory, neither index.cgi nor index.html exists, I don't want to run
DirectoryIndex
statment ...
Code:
DirectoryIndex index.cgi index.html
libexec/apache24/mod_dir.so
; I want to run a particular Perl script, and not have to place it (or a pointer to it) in each directory. How do I tell the apache config file that I want to fall back to an arbitrary Perl script if DirectoryIndex
doesn't find one of the listed files in a particular directory?