lokeshv
asked on
mod_perl problem
i am trying to setup mod perl on my devlopment server...
i tried following to configuration on my linux box
httpd2 with mod_perl_1.99(latest)
apache1.3.27 with mod_perl_1
and when i run my test script(test.pl) ,the script simply displays content of file (as text file).
any help ?
Lk
i tried following to configuration on my linux box
httpd2 with mod_perl_1.99(latest)
apache1.3.27 with mod_perl_1
and when i run my test script(test.pl) ,the script simply displays content of file (as text file).
any help ?
Lk
ASKER
this is for version 2 or 1 ?
for both, i think.
my web server (where this piece of httpd.conf is from) is still running apache 1.3 (i'll update it soon - i don't expect to have to change these lines ;).
my web server (where this piece of httpd.conf is from) is still running apache 1.3 (i'll update it soon - i don't expect to have to change these lines ;).
ASKER
when i add line LoadModule i get warning msg perl module is already loaded...
and the result is still same ...dispalyes the code..
and the result is still same ...dispalyes the code..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Nothing has happened on this question in over 7 months. It's time for cleanup!
My recommendation, which I will post in the Cleanup topic area, is to
accept answer by tosch.
Please post any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
jmcg
EE Cleanup Volunteer
My recommendation, which I will post in the Cleanup topic area, is to
accept answer by tosch.
Please post any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
jmcg
EE Cleanup Volunteer
the lines for httpd.conf look somewhat like this:
LoadModule perl_module /usr/lib/apache/libperl.so
AddModule mod_perl.c
<Location /perl>
SetHandler perl-script
PerlHandler Apache::Registry
PerlSendHeader On
</Location>