-
From: Geoffrey Young [mailto:[EMAIL PROTECTED]
Sent: Friday, September 30, 2005 12:44 PM
To: Philip M. Gollucci
Cc: Jonathan Steffan; Perrin Harkins; Dickon Newman;
modperl@perl.apache.org
Subject: Re: index.pl not default, even when specified
Philip M. Gollucci wrote:
> Geoffrey Young wr
Philip M. Gollucci wrote:
> Geoffrey Young wrote:
>
>> if you read through the above thread completely you'll see an analysis of
>> what happens when using SetHandler + DirectoryIndex - basically,
>> mod_dir is
>> never able to apply the DirectoryIndex directive because it never
>> enters the
>>
Geoffrey Young wrote:
if you read through the above thread completely you'll see an analysis of
what happens when using SetHandler + DirectoryIndex - basically, mod_dir is
never able to apply the DirectoryIndex directive because it never enters the
request. however, it is possible to get Directo
Geoffrey Young wrote:
>>**
>>mod_perl-1.99_16-3
>>**
>>DirectoryIndex index.pl
>
>
> please see this thread
>
> http://marc.theaimsgroup.com/?t=11133509941&r=1&w=2
>
> specifically the solution found here
>
> http://marc.theaimsgroup.com/?l=apache-modperl&m=1114451502
> **
> mod_perl-1.99_16-3
> **
> DirectoryIndex index.pl
please see this thread
http://marc.theaimsgroup.com/?t=11133509941&r=1&w=2
specifically the solution found here
http://marc.theaimsgroup.com/?l=apache-modperl&m=111445150218566&w=2
if this keeps coming up I might
**
2.6.12-1.1378_FC3smp #1 SMP Wed Sep 14 04:52:36 EDT 2005 i686 i686 i386
GNU/Linux
**
Server version: Apache/2.0.53
Server built: Sep 5 2005 09:28:47
**
This is perl, v5.8.5 built for i386-linux-thread-multi
**
mod_perl-1.99_16-3
**
DirectoryIndex ind
On Thu, 2005-09-29 at 18:22 -0600, Jonathan Steffan wrote:
> I tried with my FC3 machine (Apache::Registry) and I could also not get
> index.pl to be the default document.
It works fine on about dozen different FC3 machines here. I suspect
there's something about the combination of directives yo
I tried with my FC3 machine (Apache::Registry) and I could also not get
index.pl to be the default document.
Jonathan
Perrin Harkins wrote:
On Thu, 2005-09-29 at 17:24 -0600, Jonathan Steffan wrote:
Well... This is what you need to do.
Add to your mod_perl enabled block.
(Lock this down
On Thu, 2005-09-29 at 17:24 -0600, Jonathan Steffan wrote:
> Well... This is what you need to do.
>
> Add to your mod_perl enabled 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
Well... This is what you need to do.
Add to your mod_perl enabled 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
I tried wrapping the DirectoryIndex (in the main config area) around
this IfModule tag..problem persists.
Dickon...
The IfModule for mod_dir really just makes your life easier - it means
that if you comment out the mod_dir inclusion, you don't have to change
these lines...
You may have
> I tried wrapping the DirectoryIndex (in the main config area) around
> this IfModule tag..problem persists.
Yeah well, that is no surprise, the IfModule tag just removes the tags
within the container if the module does not exist. I agree with Perrin
that you are probably touching on a non mo
Dickon Newman 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!
I agree, this is not necessary. In fact, I don't think your pro
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
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
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
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
Dickon Wrote:
>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
>solution.
Hello Dickon,
I was intrigued by your dilemma and I trie
> Changing the extension does not allow the page to come up as default
> (even when changing the DirectoryIndex to reflect the extension
> change).
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 are you
sure no other
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
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...
Dickon,
> I'm having trouble with my default index file (DirectoryIndex) in
> Apache
What happens if you move (or copy) the DirectoryIndex definition into
the directory container for the perl scripts. Thus:
>
> ServerName 10.1.1.249
> DocumentRoot /usr/local/www/data/
> UseCanon
The directory only contains index.pl, not index.html or any other index
type.
Just to try, I have also attempted to rearrange the location of
"index.pl" in the DirectoryIndex line (1st, 2nd, 3rd, only) and this
has not resolved the problem either.
Dickon...
Chris Croome wrote:
Hi
On Tue
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 index.pl first.
Chris
-
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
25 matches
Mail list logo