Sorry that I have to post an update so quickly but I've been going at this
without any luck for 3 days and now something important is discovered:

I stumbled over an RPM that has mod_perl-1.99_09 on:
http://www.apache.org/~gozer/mp2/

However I still get:
Invalid command 'Embperl_UseEnv', perhaps mis-spelled or defined by a
module not included in the server configuration

When starting httpd.conf with "Embperl_UseEnv on" uncommented.

Now I'm really lost on this. Any tips or help are welcome; either direct
(embperl at(@) itmon dot(.) nl) or to the list.

J.

---------- Forwarded message ----------
Date: Wed, 3 Dec 2003 10:10:34 +0100 (CET)
From: Johan van Vliet <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Embperl / Apache 2.0.40: ignores "(Perl)SetEnv"


Hello all,

A few days ago I upgraded from a very old Redhat to a recent RedHat 9.
With embperl: Embperl-2.0b9, mod_perl 1.99_07-5 (default RH9) and Apache
2.0.40 (default RH9).

Since this upgrade a few things go wrong (ESCMODE has different default
and SYNTAX also). Since I have a few friends who also use my webserver I
would like to make it behave as before.

In order to do this I added the following lines to my httpd.conf:
PerlModule Embperl
Embperl_UseEnv on
SetEnv EMBPERL_DEBUG 0
SetEnv EMBPERL_OPTIONS 16
SetEnv EMBPERL_ESCMODE 0
SetEnv EMBPERL_SYNTAX "EmbperlBlocks"

When I do this Apache says "invalid command" on the "Embperl UseEnv on"
part. When I comment this it ignores the other options.

I searched the history of this list and other google's: the only thing I
cold find was this thread:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg05307.html
with the most interesting reply:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg05378.html

"----------------------------------------
> Finally I found time to look further into this. It seems that my
> mod_perl was too old, I had 1.99.07 from Debian Experimental,
> which caused the error. After manually updating it to 1.99.08 or
> 09 everything works.
> Just for the archives, in case anybody else stumbles over this.
>

This might also be the reason why RH9 fails, they also have mod-perl
1.99_07
"----------------------------------------

I tried to upgrade to 1.99_09 but end up in a RPM dependency hell.

Does any one have a sollution for me that allows my to "disable" this
(advanced) behavoir without having to edit every embperl file?

Maybe someone has a modperl upgrade that works on RH9 and Apache 2.0.40 if
his really it the sollution.

May thanks.

J.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to