Unix Hosting News & Commentary

CGIWrap

Assume we have main web root directory at /home/admin/web, and we would like to have CGIWrap transparently at the background. The cgi-bin folder is located inside web folder. Please change both the user and group in httpd.conf to apache.

  1. tar -zxvf

    ./configure –with-httpd-user=apache

    make install

  2. Update the httpd.conf file with

    ScriptAlias /cgi-bin/

    RewriteEngine On
    RewriteMap lowercase int:tolower
    RewriteRule ^/cgi-bin/(.*) /cgi-bin/cgiwrap/admin/$1 [PT]

    Sample of error message for CGIWrap:

  1. No user reviews yet.


Leave a Reply





Blogroll