Why not try RedHat v6.1? Installing it is a snap! I had it up & running in no time.
After installing the rpm file for mod_perl, just follow the directions to activate it
in the /etc/httpd/conf/httpd.conf then reboot to activate the changes if your a former
Windows user.;-)
No need to recompile Apache. My DSO setup works quite well!
**********EDIT the "/etc/httpd/conf/httpd.conf" file
#uncomment the line below under the section
# Dynamic Shared Object (DSO) Support
LoadModule perl_module modules/libperl.so
#uncomment the line below under the section
# Extra Modules
AddModule mod_perl.c
#add the following line
ScriptAlias /perl/ "/home/httpd/cgi-bin/"
#uncomment the following lines
# If the perl module is installed, this will be enabled.
<IfModule mod_perl.c>
Alias /perl/ /home/httpd/cgi-bin/
<Location /perl>
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
</Location>
</IfModule>
*********************************************
Now, anything that is accessed as http://mysite.com/perl/perlscript.cgi will
run as a perl script... Use this setup only if you want to test scripts as both normal
cgi & mod_perl scripts, otherwise you'll need to point the "Alias /perl/
/home/httpd/cgi-bin/" line & "ScriptAlias /perl/ "/home/httpd/cgi-bin/"
line to point to another directory of your choice.
Hope this helps!
> Annette wrote:
>
> I have been trying to install mod_perl for the last couple of weeks and I still have
>not been successful. I am new to Linux and have installed RedHat 6. I used the Custom
>set-up and installed mod_perl during the installation. I entered the command 'perl
> -v' and it tells me that I have perl loaded but not mod_perl. Does anyone know what
>I have to do to enable mod_perl, tell if I have it enabled, or where I can read about
>the installation under RedHat 6. I have tried installing it using src files,
> followed the directions line by line and still nothing. Is this the right mailing
>list to ask this question? Where should I go if not? Apache is up and running just
>fine. Any input would be appreciated.
>
> Ann.