Hello all,
If you have a mod_perl-enabled Apache server, how does it determine
whether the script you are sending to it is mod_perl or mod_cgi? I am
assuming the server scripts directory that you specify when running the
script from your web browser?
http://192.168.0.1/cgi-bin/cgi_test.pl -- example for mod_cgi
On my system, the httpd.conf file has defaulted the ScriptAlias value to
be /home/httpd/cgi-bin for mod_cgi scripts. I have not yet configured
Apache to handle mod_perl scripts.
I have been reading "Intro to Mod_Perl" by Jamie Scheinblum and he
recommends that if you had Apache installed with the OS you might be
better off removing it and installing a version you built yourself. I
do not want to screw up my Linux system.
I currently have the following loaded with the exception of mod_perl:
VERSION EXECUTABLE
perl 5.005_03 /usr/bin/perl
apache 1.3.9 /usr/sbin/apachectl, /home/httpd/cgi-bin (script dir)
mod_perl 1.24 ???
Would it be ok to install the mod_perl module as is? My Apache server
is just set to the defaults and I know that the settings in the
httpd.conf file should be tweaked, but if I install mod_perl, I am
understand that it will be limited to the configuration that was in
place for Apache at the time of the install. Is that correct?
Thanks for the help.
Rich