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.
-
tar -zxvf cgiwrap-version.tar.gz
-
./configure –with-cgi-dir=web/cgi-bin –with-httpd-user=apache –with-install-dir=/home/<user>/web/cgi-bin
-
make
-
make install
-
Update the httpd.conf file with
ScriptAlias /cgi-bin/ “/home/admin/web/cgi-bin/”
RewriteEngine On
RewriteMap lowercase int:tolower
RewriteRule ^/cgi-bin/(.*) /cgi-bin/cgiwrap/admin/$1 [PT]<Directory “/home/admin/web/cgi-bin”>
… -
Sample of error message for CGIWrap:
