No error messages in the logs (i'm no guru, but the logs were my first stop)
and no path errors that I can see.. but I am using apache 1.3 not 2.x. Do any of you remember running mod perl on mdk9.0?? As I said, when called directly, mod_perl works just fine on port 8200.. so its the rewritting that has failed, not mod_perl itself. I was wondering if Virtual named hosting would cause the issue.. Also, because Mandrake are the only apache that I found to run mod_perl as a seperate daemon, there isn't alot of info online that I Can find. rgds Franki -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Steven Broos Sent: Tuesday, 3 June 2003 11:48 AM To: [EMAIL PROTECTED] Subject: RE: [expert] mod_perl scripts. A quick look into my system: /etc/httpd/conf/httpd2.conf /etc/httpd/conf/httpd2-perl.conf And a lot of occurences of 'perl' in /etc/init.d/httpd Are the paths and prefixes in the config-files correct ? Do you get any error-messages in /var/log/httpd (or /etc/httpd/logs) when you restart apache ? Steven On Mon, 2003-06-02 at 23:03, Frankie wrote: > 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
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
