Re: DirectoryIndex ignored when using perl-handler

[prev] [thread] [next] [Date index for 2005/05/23]

From: Geoffrey Young
Subject: Re: DirectoryIndex ignored when using perl-handler
Date: 14:43 on 23 May 2005

> My/Fixup.pm package exactly as 
> http://marc.theaimsgroup.com/?l=apache-modperl&m=111445150218566&w=2
> 
> Note 1:
>   - All references to Apache2 changed to Apache (fresh
> install of Fedora Core 3 & one up2date
>     (httpd is 2.0.52 and mp2 is 1.99_16-3)
>   - no complaints
> 
> Problem 1:
>   - Error: Bareword "Apache::Const::DIR_MAGIC_TYPE"
> not allowed while "strict subs" in use ..
>   - Same complaint with Apache::Const::OK and
> Apache::Const::DECLINED 
>   - Bad practice, but I commented out the use strict
> and use warnings ;

this needs to be fixed.  those constants are explicitly exported in
Fixup.pm, so if you're getting those warnings something is wrong.  the
pragmata you commented out is there for your protection - if you need to
comment it out something else is going wrong, which is clearly shown in your
next error:

>   - error: "Can't locate object method is_initial_req
> via package Apache::RequestReq

so, you need to figure out why the handler doesn't run cleanly before we can
diagnose why it's not performing its intended function.  for the latter
error, you might need to add

  use Apache::RequestUtil;

to Fixup.pm (though I'll need to see why it didn't fail for me).  for the
constants, something else is amuck.

--Geoff


(message missing)

DirectoryIndex ignored when using perl-handler
William McKee 00:06 on 13 Apr 2005

Re: DirectoryIndex ignored when using perl-handler
Geoffrey Young 00:33 on 13 Apr 2005

Re: DirectoryIndex ignored when using perl-handler
William McKee 13:54 on 13 Apr 2005

Re: DirectoryIndex ignored when using perl-handler
William McKee 19:14 on 13 Apr 2005

Re: DirectoryIndex ignored when using perl-handler
Geoffrey Young 00:21 on 14 Apr 2005

Re: DirectoryIndex ignored when using perl-handler
William McKee 14:08 on 25 Apr 2005

Re: DirectoryIndex ignored when using perl-handler
Geoffrey Young 17:51 on 25 Apr 2005

Re: DirectoryIndex ignored when using perl-handler
Geoffrey Young 15:39 on 27 Apr 2005

Re: DirectoryIndex ignored when using perl-handler
William McKee 20:35 on 25 Apr 2005

Re: DirectoryIndex ignored when using perl-handler
Thomas Hilbig 04:39 on 21 May 2005

Re: DirectoryIndex ignored when using perl-handler
Geoffrey Young 05:39 on 21 May 2005

Re: DirectoryIndex ignored when using perl-handler
Thomas Hilbig 16:07 on 22 May 2005

Re: DirectoryIndex ignored when using perl-handler
Geoffrey Young 14:43 on 23 May 2005

Re: DirectoryIndex ignored when using perl-handler
Thomas Hilbig 15:56 on 24 May 2005

Generated at 15:53 on 25 May 2005 by mariachi v0.52