Some cut & paste from previous messages...

For RedHat DSO specific steps in the mod_perl guide see:
http://perl.apache.org/guide/install.html#Installing_separate_Apache_and_m

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>
*********************************************
I use my setup to test, so I execute both mod_perl & standard perl
scripts from the same CGI directory...
Now, anything that is accessed as 
http://mysite.com/perl/perlscript.cgi will
run as a mod_perl script, and anything accessed as 
http://mysite.com/cgi-bin/perlscript.cgi will run as a non_mod_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 CGI directory of your
choice.

Hope this helps!



Kenneth Frankel wrote:
> 
> I have tried almost every variation of installation instructions, and all
> have failed.  I can't find anything in the FAQs so please help me.
> 
> Situation: Redhat 6.1 Linux 2.2.12, with pre-installed Apache
> httpd.  Removed pre-existing httpd from PATH.  Installing new Apache to
> different path.  Source versions: apache_1.3.12, mod_perl-1.22.

<SNIP>

Reply via email to