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 |
Moved to Linux-Networking... Llwyd asked for Linux-General, but it fits betther here IMHO.
Suggestion: do you have mod_cgi (httpd -l)? Are you sure suexec is off? |
No, I never installed mod_cgi.
"suEXEC feature which is never installed or activated by default" I never enabled it, so I can safely say no. |
You need mod_cgi.
|
All times are GMT -5. The time now is 03:35 PM. |