[cgiwrap-users] Issue with compiled Perl
Brought to you by:
nneul
From: <wa...@pi...> - 2004-02-24 19:11:56
|
Greetings; I have a customer with a compiled perl application using Perl2exe. The program binary works fine under Suexec and directly running as the "httpd" user. However under cgiwrap it crashes and we see the following error in cgiwrapd. It appears as if CGI wrap is feeding the binary to the perl program yet we do not have the --with-perl option compiled in. Note some small programs using the same compiler seem to work fine under cgiwrap. We are using cgiwrap 3.9 configured thusly ./configure \ --with-require-redirect-url \ --with-cgi-dir="public_html" \ --with-httpd-user=httpd \ --with-minimum-gid=500 \ --with-minimum-uid=500 \ --with-logging-file=/var/log/httpd/cgiwrap.log and using the AddHandler - Action method to call the cgiwrap from Apache 2.0/Linux The INSTALLED perl on the sytem is 5.8 but the program was compiled under 5.6.1 (but as I mentioned above it runs fine directly). CGIWRAPD output Output of script follows: ===================================================== Bareword found where operator expected at - line 1, near "3B" (Missing operator before B?) Operator or semicolon missing before &Item_Name at - line 1. Ambiguous use of & resolved as operator & at - line 1. Bareword found where operator expected at - line 1, near "3B" (Missing operator before B?) Operator or semicolon missing before &Item_Price at - line 1. Ambiguous use of & resolved as operator & at - line 1. Operator or semicolon missing before &Item_Weight at - line 1. Ambiguous use of & resolved as operator & at - line 1. Operator or semicolon missing before &Item_Description at - line 1. Ambiguous use of & resolved as operator & at - line 1. Operator or semicolon missing before &Item_Qty at - line 1. Ambiguous use of & resolved as operator & at - line 1. Operator or semicolon missing before &add_to_cart_button at - line 1. Ambiguous use of & resolved as operator & at - line 1. Operator or semicolon missing before &add_to_cart_button at - line 1. Ambiguous use of & resolved as operator & at - line 1. syntax error at - line 1, near "3B" Transliteration pattern not terminated at - line 1. Error: Can't open source file |