I have a test script that Dan Browning (author of Business::Shipping) gave me. It runs just fine as a command line script and as a cgi script, and gives the expected result.
Source: [http://heavy.boygenius.com/temp/test_cgi.txt] Result: [http://heavy.boygenius.com/temp/test.cgi]However, when I take the same script and run it in my Apache/ePerl environment, it fails with no errors, no output, no nothing.
Source: [http://heavy.boygenius.com/temp/test_phtml.txt] (I needed to shut off warnings to eliminate subroutine redefined warnings) Result: [http://heavy.boygenius.com/temp/test.phtml]That should sit for a while, then reward you with a plain white screen. I get nothing in the server error logs, and nothing in the B::S logs.
When I su to the web user and run the phtml file through the eperl parser via the command line ("eperl -B '<?' -E '!>' test.phtml"), it works just fine.
All of the other phtml files on the server - and there are a lot of them - work as expected.
This is running on a fresh debian sarge box using a locally compiled Apache 1.3.37 and mod_perl. The ePerl instance was installed via CPAN. I use this same setup on all of my servers, and I've never had a problem like this before.
If anyone could offer some advice on what might be happening here, I'd really appreciate it.
thanks, Todd
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.