Forum Moderators: phranque
LoadModule perl_module libexec/libperl.so
LoadModule geoip_module libexec/mod_geoip.so
AddModule mod_perl.c
AddModule mod_geoip.c
Alias /perl/ /home/*******/public_html/*******/perl/
PerlModule Apache::Registry
<Location /perl/>
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
PerlSendHeader On
allow from all
</Location>
(*** replaces my account/domain names)
I also activated the geoip in the .htaccess of the domain using the cgiscript.
Checking php info() shows both mods are loaded (and seeing error log showing running)
I put my script (with shebang #!/usr/bin/perl/) in mydomain/perl/
Several questions:
1. how can i tell whether the cgiscript is running through mod_perl?
2. i started getting lots of segmentation fault (11) errors showing in my error logs, along with that domain having a blank page every 2-5 refreshes. What might cause these and how can i fix?
3. i have also noticed mod_gzip:TRANSMIT_ERROR:104 errors showing once in a while as well. What may be causing this?
I unloaded geoip and it wasnt that, and then unactivated mod_perl and the seg faults reduced greatly, but still getting the odd one here and there.
TIA
Server info: Apache/1.3.35 (Unix) mod_gzip/1.3.26.1a mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.2 FrontPage/5.0.2.2634a mod_ssl/2.8.26 OpenSSL/0.9.7a (mod_perl & mod_geoip disabled)