You are Here: FAQ ->Dedicated Servers->Linux Root Server->How To?->Article #6


WebHosting 5.0 This article is for 1&1 Linux WebHosting only.


How to make the CGI scripts work in /cgi-bin


The standard configuration redirects the cgi-bin directory on every customer home
directory to /var/www/cgi-bin. For this reason the webserver can't find the scripts
in the cgi-bin directory of your customer home directory. You can solve this
problem either by renaming the directory or by deactivating the redirection in the
Apache configuration /etc/httpd/conf/httpd.conf as follows:

# ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"


Disclaimer: 1&1 provides the scripts and related information on this page as a courtesy, subject to 1&1's General Terms and Conditions of Service (the "GT&C"). As set forth in more detail in the GT&C, the scripts and information are provided "as-is", without any warranty, and 1&1 is not liable for any damages resulting from your use of the scripts or information.


SD2B2C809


Print Article
How useful was this article?
(From 5 = Very Useful to 1 = Not useful at all):
1 2 3 4 5