You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Jordan Baker <su...@rogers.com> on 2002/11/12 00:27:36 UTC
error document continues
I'm still looking into this. What I've found so far:
I have foo.epl, deliberately to cause a server error:
[- @()(sdAFOK:LASFL:ASFKLASF ASF AKSF -]
When I try to access it access.log is saying the request status is 200
not 500.
What gives? I have my EMBPERL_OPTIONS as set below for optReturnErrors
Any help would be appreciated...
______________________
Jordan Baker
jbb@contradix.comĀ
-----Original Message-----
From: Jordan Baker [mailto:sutra@rogers.com]
Sent: November 7, 2002 6:48 PM
To: 'embperl'
Subject: error document
I'm trying to use Apache/mod_perl and ErrorDocument.
With what I have right now if I try to execute the script I see the
contents of my base.epl but neither the file I called (which has
deliberate syntax errors in it) or the servererror.epl file.
Currently I've got:
ErrorDocument 500 /servererror.epl
<Directory /home/jbb/rtbc/production/htdocs>
<Files *.epl>
EMBPERL_OBJECT_BASE base.epl
EMBPERL_ALLOW "\.epl$"
EMBPERL_APPNAME rtbc
EMBPERL_OPTIONS 262144
SetHandler perl-script
PerlHandler Embperl::Object
Options ExecCGI
</Files>
Can someone who is using this successfully send me a snippet that is
working?
Thanks muchly,
-jordan.
______________________
Jordan Baker
jbb@contradix.comĀ
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: error document continues
Posted by Gerald Richter <ri...@ecos.de>.
Hi,
your config seems to be ok and should work for normal Embperl files. I have
never tried it with Embperl::Object, maybe Embperl::Object is not correctly
passing the error back.
Could you see if you get the same result with an normal Embperl file?
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
----- Original Message -----
From: "Jordan Baker" <su...@rogers.com>
To: "'embperl'" <em...@perl.apache.org>
Sent: Tuesday, November 12, 2002 12:27 AM
Subject: error document continues
I'm still looking into this. What I've found so far:
I have foo.epl, deliberately to cause a server error:
[- @()(sdAFOK:LASFL:ASFKLASF ASF AKSF -]
When I try to access it access.log is saying the request status is 200
not 500.
What gives? I have my EMBPERL_OPTIONS as set below for optReturnErrors
Any help would be appreciated...
______________________
Jordan Baker
jbb@contradix.com
-----Original Message-----
From: Jordan Baker [mailto:sutra@rogers.com]
Sent: November 7, 2002 6:48 PM
To: 'embperl'
Subject: error document
I'm trying to use Apache/mod_perl and ErrorDocument.
With what I have right now if I try to execute the script I see the
contents of my base.epl but neither the file I called (which has
deliberate syntax errors in it) or the servererror.epl file.
Currently I've got:
ErrorDocument 500 /servererror.epl
<Directory /home/jbb/rtbc/production/htdocs>
<Files *.epl>
EMBPERL_OBJECT_BASE base.epl
EMBPERL_ALLOW "\.epl$"
EMBPERL_APPNAME rtbc
EMBPERL_OPTIONS 262144
SetHandler perl-script
PerlHandler Embperl::Object
Options ExecCGI
</Files>
Can someone who is using this successfully send me a snippet that is
working?
Thanks muchly,
-jordan.
______________________
Jordan Baker
jbb@contradix.com
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org