mod_perl2 per directory
am 18.09.2009 13:14:34 von Philip Blatter
Hey there,
i've a strange problem... According to the mod_perl 2.0 server
configuration pages, the following should work:
SetHandler perl-script
PerlInterpStart 1
PerlInterpMax 1
PerlInterpMaxRequests 1000
PerlResponseHandler MyModule
paradoxically starting my apache2 gives me the following error message:
"PerlInterpStart not allowed here"
What's wrong with my setup? Am i missing something?
Regards,
Philip
Re: mod_perl2 per directory
am 19.09.2009 03:43:07 von Craig or Merikay MacKenna
On page http://perl.apache.org/docs/2.0/user/config/
config.html#mod_perl_Directives_Argument_Types_and_Allowed_L ocation
you can see the following line in the table that defines the scope of
the various directives:
PerlInterpStart TAKE1 SRV
SRV means "server scope" which to me means that it cannot be applied
to a Location.
On Sep 18, 2009, at 4:14 AM, Philip Blatter wrote:
> Hey there,
>
> i've a strange problem... According to the mod_perl 2.0 server
> configuration pages, the following should work:
>
>
> SetHandler perl-script
> PerlInterpStart 1
> PerlInterpMax 1
> PerlInterpMaxRequests 1000
> PerlResponseHandler MyModule
>
>
> paradoxically starting my apache2 gives me the following error
> message:
>
> "PerlInterpStart not allowed here"
>
> What's wrong with my setup? Am i missing something?
>
> Regards,
> Philip
Re: mod_perl2 per directory
am 20.09.2009 14:34:37 von Philip Blatter
Hey there,
thanks for the information - i've read that already. I suggest to fix
documentation on:
http://perl.apache.org/docs/2.0/user/config/config.html#C_Pa rent_
There is an example with PerlInterpStart in an scope!
regards,
Philip
mackenna@animalhead.com wrote:
> On page
> http://perl.apache.org/docs/2.0/user/config/config.html#mod_ perl_Directives_Argument_Types_and_Allowed_Location
>
>
> you can see the following line in the table that defines the scope of
> the various directives:
>
> PerlInterpStart TAKE1 SRV
>
> SRV means "server scope" which to me means that it cannot be applied
> to a Location.
>
>
> On Sep 18, 2009, at 4:14 AM, Philip Blatter wrote:
>
>> Hey there,
>>
>> i've a strange problem... According to the mod_perl 2.0 server
>> configuration pages, the following should work:
>>
>>
>> SetHandler perl-script
>> PerlInterpStart 1
>> PerlInterpMax 1
>> PerlInterpMaxRequests 1000
>> PerlResponseHandler MyModule
>>
>>
>> paradoxically starting my apache2 gives me the following error message:
>>
>> "PerlInterpStart not allowed here"
>>
>> What's wrong with my setup? Am i missing something?
>>
>> Regards,
>> Philip
>