AlpineWeb Home
Search: For:   ~ Advanced Search  
  Support Home     Documentation     Knowledgebase     Help Desk     Blog 
Support Home > VPS v1 > Webserver > CGI > Monday, October 06, 2008

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 VPS:
    AddHandler cgi-script .cgi
    You may want to add a Handler for perl scripts:
    AddHandler cgi-script .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 VPS:
    Options Indexes FollowSymLinks ExecCGI
  3. Restart your web server:
    % restart_apache

Technical Support
° Getting Started Guide
  FreeBSD
° VPS v1 Help
° VPS v2/3 Help
° MPS v2/3 Help
  DNS
° Domain Name Service
° Domain Registration
   
° Help Desk
° Knowledgebase
° Support Policies
° Disclaimer

° AlpineWeb Home
° Compare Hosting Plans
° Network Topology

° Rates & Fees
° Order Center


  SEE ALSO
· About the Apache Web Server
· Allowing Server Side Includes in Any Directory
· Configuring MIME Types


  Home | Site Map | Customer Backroom Copyright  ©  1997-2008  AlpineWeb Design