index.pl not default, even when specified

2005-09-27 Thread Dickon Newman
Hi everyone, I'm having trouble with my default index file (DirectoryIndex) in Apache 2. No matter what I try to do, index.pl does not show up as the default page. Instead, Apache gives me a directory listing. I've tried searching various lists and forums but I cannot find a straightforward

Re: index.pl not default, even when specified

2005-09-27 Thread Dickon Newman
Hi On Tue 27-Sep-2005 at 01:59:10PM -0400, Dickon Newman wrote: DirectoryIndex index.html index.html.var index.pl The line above, with the DocumentRoot pointing to a directory with an index.html and a index.pl will resut if the index.html being served -- try putting inde

Re: index.pl not default, even when specified

2005-09-27 Thread Dickon Newman
Frank, What happens if you move (or copy) the DirectoryIndex definition into the directory container for the perl scripts. Thus: Problem persistsI also tried placing the DirectoryIndex into the Vhost config lines.no luck... Dickon...

Re: index.pl not default, even when specified

2005-09-27 Thread Dickon Newman
Changing the extension does not allow the page to come up as default (even when changing the DirectoryIndex to reflect the extension change). However, loading the page with a cgi extension works fine just as it did with a pl extension. The script doesn't have a problem executingmy perl mo

Re: index.pl not default, even when specified

2005-09-28 Thread Dickon Newman
Same results. Index.pl doesn't show as default. I searched my entire httpd.conf file, and there is not other "DirectoryIndex" tags. Dickon... Frank Maas wrote: Now I know you don't want this in the end, but what happens if you add 'AddHandler perl-script .pl' to your configuration? And ar

Re: index.pl not default, even when specified

2005-09-28 Thread Dickon Newman
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

Re: index.pl not default, even when specified

2005-09-28 Thread Dickon Newman
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 b