Well... This is what you need to do.

Add to your mod_perl enabled <Directory> block.
(Lock this down more later):     AllowOverride All

In .htaccess file where you want index.pl to handle requests:
ErrorDocument 404 /path/to/index.pl

Hope this fixes it. I use it.

-Jonathan

Dickon Newman wrote:

I tried wrapping the DirectoryIndex (in the main config area) around this IfModule tag......problem persists.

Dickon...

Jeff wrote:

This is a little over my head......is it really the solution to my problem? Does this mean the problem lies with ModPerl::RegistryPrefork?

There has to be a better way to have index.pl show up as default! However, if you tell me there isn't, I shall begin learning about this and pursuing it further.

Does anyone out there have index.pl coming up as default in a vhost and can share their httpd.conf file?


In the main part of httpd.conf...
then you dont have to specify it in all the VHOSTS


# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index.  Separate multiple entries with spaces.
<IfModule mod_dir.c>
    DirectoryIndex  index.pl index.htm index.html
</IfModule>


Reply via email to