You have to enable perl in the Apache config file I suppose
(/etc/httpd/conf/httpd.conf or something similar)

If you search the config-file for 'perl', you should find some more
information and example-config that is commented.

Steven

------------------------------------------------



yeah, I know...

a long search revealed that PERLPROXIED most be enabled in the init script

So i took a look and found this (in /etc/rc.d/init.d/httpd):

#If both servers are installed, perl runs as a proxy
#and has no extra modules
if [ -x /usr/sbin/httpd -a -x /usr/sbin/httpd-perl ]; then
        DEFINE="-DPERLPROXIED"
        PERLXMODS=""
fi
PERLFILE="-f /etc/httpd/conf/httpd-perl.conf"
###



which seems to be testing to make sure http-perl and http are there.. they
both are...
and if they are, to define "PERLPROXIED"
So that appears to be correct.

Then in httpd.conf I see this:

<IfDefine PERLPROXIED>
    RewriteEngine on
    RewriteRule ^proxy:.*  -  [F]
    RewriteRule ^(.*\/perl\/.*)$  http://%{HTTP_HOST}:8200$1 [P]
    RewriteRule ^(.*\/cgi-perl\/.*)$  http://%{HTTP_HOST}:8200$1 [P]
</IfDefine>

Which appears to do the rewritting to port 8200 that calls to /perl or
/cgi-perl are
supposed to do.

Since I know that mod perl is working fine when I specify port 8200
manually.. the problem would have to be the rewritting..

but it all seems right.. so I am at something of a loss here..

hense my question here..


regards

Franki







Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to