You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Johan van Vliet <em...@itmon.nl> on 2003/12/03 10:10:34 UTC
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/embperl@perl.apache.org/msg05307.html
with the most interesting reply:
http://www.mail-archive.com/embperl@perl.apache.org/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: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: Embperl / Apache 2.0.40: ignores "(Perl)SetEnv"
Posted by Gerald Richter <ri...@ecos.de>.
>
> Maybe someone has a modperl upgrade that works on RH9 and Apache
> 2.0.40 if his really it the sollution.
>
I don't use RH and have no binaries, but 2.0.40 is really old and has some
security problems For theses reason I would suggest you to compile Apache
and mod_perl newset version of your own. This should solve your problems
Gerald
--------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 939-122
WWW: http://www.ecos.de/ Fax: +49 6133 939-333
--------------------------------------------------------------
|
| ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org