Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Ivan on June 23, 2002, 03:02:38 AM
-
I need to install mod_perl for Apache on sme 5.1.2 with service pack. Is there any docs anywhere on this subject? How hard is it to get it running?
I did try to install it with rpms from rpmfind.net - after 4 hours I gave up.
Many thanks,
Ivan
-
Ivan,
mod_perl is already installed
# rpm -q mod_perl
# mod_perl-1.24_01-2
Jon
-
I've upgraded it to 1.24_1.3, but apache dosn't process any pl pages. How do I get apache to recognize and process pl pages? When viewed through the internet browser I only see actual code, not the page that it should generate? My goal is to install WebGUI cms.
Thank you very much for your reply,
Ivan
-
Ivan,
Have you installed all the other modules required as per the WebGUI install section and have you set up httpd.conf to recognise perl script i.e SetHandler perl-script.
Jon
-
All of the modules intalled and I belived that I've added support for perl. It looks like I'll have to pay a visit to apache.org :). do you have any web links related to perl configuration under apache?
In your opinion, do you think that WebGUI should be running from CGI dir?
Kind regards,
Ivan
-
mod_perl is not installed by default. My guess is you have to modify the template file (see http://www.e-smith.org/docs/papers/templates.html)
cp -rp /etc/e-smith/templates/etc/httpd/conf/httpd.conf/30AddModule60 /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
cd /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
pico 30AddModule60
uncomment
#AddModule mod_perl.c
Follow the same routine for template 20Loadmodule80
uncomment
#LoadModule perl_module
and expand the template.
/sbin/e-smith/expand-template /etc/e-smith/templates/etc/httpd/conf/httpd.conf
and run
/sbin/e-smith/signal-event console-save
Hope that works. :)
-
Not so; mod_perl is installed by default, and is active in the default httpd.conf (or at least it is in mine, and I haven't made any changes that I know of that would affect it). If it isn't active, do
/sbin/e-smith/config setprop modPerl status enabled
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf