[rt-users] PerlRequire /data/rt3/bin/webmux.pl

Ruslan Zakirov ruz at bestpractical.com
Tue Apr 10 09:26:02 EDT 2012


there should be more errors. what you pasted is too late to understand
where the real problem is.

On Tue, Apr 10, 2012 at 17:13, testwreq wreq <testwreq at gmail.com> wrote:
>
>  I upgraded centos from 5.5 to 5.8 . I am unable to start the http server.
> The error in the logs is
> "use" not allowed in expression at /data/rt3/bin/webmux.pl line 49, at end
> of line\nsyntax error at /data/rt3/bin/webmux.pl line 49, near "use
> strict"\nBEGIN not safe after errors--compilation aborted at
> /data/rt3/bin/webmux.pl line 58.\nCompilation failed in require at (eval 7)
> line 1
>
> If the comment the PerlRequire line in my conf file, I can start the httpd
> server. Any ideas how to fix this?
>
>  <VirtualHost *:443>
>        ServerName devrt.cs.stonybrook.edu
>        DocumentRoot /data/rt3/share/html
>        AddDefaultCharset UTF-8
>        PerlModule Apache::DBI
>        PerlRequire /data/rt3/bin/webmux.pl
>
>         <Location />
>                 SetHandler perl-script
>                 PerlHandler RT::Mason
>         </Location>
>        ErrorLog logs/ssl_error_log
>        TransferLog logs/ssl_access_log
>        LogLevel warn
>        <Directory />
>           SSLRequireSSL
>        </Directory>
>         SSLEngine on
>         SSLProtocol all -SSLv2
>         SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
>         SSLCACertificateFile
> /etc/sslcertificate/devwww_cs_sunysb_edu_interm.cer
>         SSLCertificateFile /etc/sslcertificate/devwww_cs_sunysb_edu_cert.cer
>         SSLCertificateKeyFile /etc/sslcertificate/devwww.cs.sunysb.edu.key
> </VirtualHost>
>
> Thanks much.



-- 
Best regards, Ruslan.



More information about the rt-users mailing list