My scripts in cgi-bin directory not working, how do I troubleshoot this problem?

by on March 31, 2006 · 0 comments· LAST UPDATED March 31, 2006

in

You need to add ScriptAlias directive to your httpd.conf file. By default Apache server try to locate file from /var/www/cgi-bin (RedHat/Fedora Linux) or /usr/lib/cgi-bin (Debian Linux).
Add following line to your domain configuration (vhost):

ScriptAlias /cgi-bin/ "/home/httpd/cyberciti.biz/httpdocs/cgi-bin/"

See also:

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 0 comments… add one now }

Leave a Comment

Tagged as:

Previous Faq:

Next Faq: