Home Contact Us Search

[ Order a Server ] [ Server Support ]


[ Getting Started ] [ Server Help ] [ Add on Help ] [ Solution ] [ Trouble Shooting ]

PLEASE NOTE, THIS IS VERY OLD ARCHIVE INFORMATION AND MAY NOT FUNCTION ON NEW SERVERS

[ DNS ] [ Email ] [ Server Admin ] [ Web Server ]

Allowing CGIs to Execute in Any Directory

To allow CGIs to execute in any directory on your web server do the following:

  1. Uncomment out the following AddHandler directive in the ~/www/conf/httpd.conf file on your Virtual Server:

    AddHandler cgi-script .cgi

    You may want to add a Handler for perl scripts:

    AddHandler cgi-script .pl

    NOTE: If your Virtual Server was configured before Dec 8, 1998 you should instead uncomment out the following AddType directive in the ~/www/conf/srm.conf file:

    AddType application/x-httpd-cgi .cgi

    You may want to add a Type for perl scripts:

    AddType application/x-httpd-cgi .pl

  2. Add an ExecCGI option to the Options for your Root Document declaration (<Directory /usr/local/etc/httpd/htdocs>) in the ~/www/conf/httpd.conf file on your Virtual Server:

    Options Indexes FollowSymLinks ExecCGI

    NOTE: If your Virtual Server was configured before Dec 8, 1998 you will need to make this change in the ~/www/conf/access.conf file instead.

  3. Restart your web server:

    % restart_apache
    

[ DNS ] [ Email ] [ Server Admin ] [ Web Server ]

PLEASE NOTE, THIS IS OLD ARCHIVE INFORMATION AND MAY NOT FUNCTION ON NEW SERVERS