Reconfigure mini_httpd; it should process any file named .cgi as a
cgi. If you wish to run weblet in addition to webconf, change the default
port of mini_httpd. Here's an example of the
/etc/mini_httpd.conf
set up to work on port 8080:
port=8080 cgipat=**.cgi user=sh-httpd logfile=/var/log/mini_httpd.log pidfile=/var/run/mini_httpd.pid max_age=0
If you do not intend to run weblet, please set port to be 80.
Change mini_httpd to serve docs from
/var/webconf/www
. The WWWDIR variable defined in
/etc/init.d/mini_httpd
determines the document root.
Change this from /var/sh-www
to
/var/webconf/www
.
Start mini_httpd: /etc/init.d/mini_httpd
start