Cgi-bin
I know this has been covered, and I think I've read every prior thread on this issue. I'm having a problem with Apache displaying my .pl files as text as opposed to actually executing the files.
Here's the relevant part of my httpd.conf file:
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
<IfModule mod_cgid.c>
#
# Additional to mod_cgid.c settings, mod_cgid has Scriptsock <path>
# for setting UNIX socket for communicating with cgid.
#
#Scriptsock logs/cgisock
</IfModule>
#
# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/var/www/cgi-bin">
AllowOverride None
Options ExecCGI
AddHandler cgi-script .cgi .pl
Order allow,deny
Allow from all
</Directory>
All permissions are set to 755.
If you can see something wrong with this PLEASE let me know. I'm running out of hairs to pull out.
Thanks,
Lance
|