This is what my httpd.conf file did have:
I dropped this in hoping for a bit of a speed boost:RewriteEngine on RewriteRule /s/ /index.cgi [NC,QSA] <Directory "/path/to/site/docs"> Options Indexes Includes ExecCGI FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory>
There was no noticeable - anything. In the past, when I have done something like this, I got a quick and easy CGI boost. But, in fact the site worked exactly as before. I did notice that making changes to index.cgi didn't require a restart of Apache (which used to be required with mod_perl). And so after doing:RewriteEngine on RewriteRule /s/ /index.cgi [NC,QSA] <Location "/path/to/site/docs/index.cgi"> SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders Options +ExecCGI </Location> <Directory "/path/to/site/docs"> # Options Indexes Includes ExecCGI FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory>
... I didn't see anything in the header indicating mod_perl. So, then I added a LoadModule directive to the httpd.conf and upon restarting Apache I got an error saying mod_perl was already loaded.# telnet localhost 81 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. HEAD / HTTP/1.0 HTTP/1.1 200 OK Date: Wed, 04 Feb 2009 23:24:38 GMT Server: Apache/2.2.9 (Fedora) Connection: close Content-Type: text/html; charset=ISO-8859-1 Connection closed by foreign host.
What am I missing here?
In reply to Yum install of Apache & mod_perl by Rodster001
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |