following the configure how to it says to add this code to the httpd.conf, then create a directory “perl” where to place the scripts to run mod_perl?
Alias /perl/ /var/www/perl/
<Location /perl/>
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
Order allow,deny
Allow from all
</Location>
not sure about the path in the code to the new directory where the perl/cgi scripts will be placed to work with mod_perl??
Anything needed to be added to /etc/httpd/conf.d/domain.conf or any where else ?
i have read the documents “how to” but lost at this point, any help appreciated
[QUOTE=bear;10393]not sure about the path in the code to the new directory where the perl/cgi scripts will be placed to work with mod_perl??
Anything needed to be added to /etc/httpd/conf.d/domain.conf or any where else ?[/QUOTE]
If you put that block in the httpd.conf, then every site will have /perl as an alias, and every site will be able to access the perl scripts in /var/www/perl/ (assuming /var/www/perl and the scripts within are accessible by Apache itself). If this is what you want, then any directory you choose should be fine.
If you want to enable mod_perl for only certain sites, I would move this config block to /etc/httpd/conf.d/domain.com.conf, and you’ll need to update the path (and corresponding permissions) to a directory within the domain.com webroot.