This section describes how to install the
webconf.lrp
package. This package contains a
fully-functional set of menus that provide the monitoring functions of
weblet plus web pages that configure and back up installed packages. In
addition, webconf-style .lrps are available for some of the common weblet
plugin .lrps.
The reference design and webconf.lrp are built for the current
Bering-uClibc release. In addition to the shell scripts, the webconf.lrp
uses a dynamically linked /usr/bin/haserl
; if you
want to try webconf on a platform other than uClibc, you will need to
recompile the haserl interpreter for your platform. Haserl source code is
available at http://haserl.sourceforge.net
Follow these steps to get started:
install mini_httpd (mhttpd.lrp)
Reconfigure mini_httpd; it should process any file named .cgi as a
cgi. Additionally, 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
:
port=8080 cgipat=**.cgi user=sh-httpd logfile=/var/log/mini_httpd.log pidfile=/var/run/mini_httpd.pid max_age=0
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
.
install webconf.lrp
Start mini_httpd: /etc/init.d/mini_httpd
start