diff options
Diffstat (limited to 'libs/sgi-webuci/host/buildconfig.sh')
-rwxr-xr-x | libs/sgi-webuci/host/buildconfig.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libs/sgi-webuci/host/buildconfig.sh b/libs/sgi-webuci/host/buildconfig.sh new file mode 100755 index 0000000000..9889637e0a --- /dev/null +++ b/libs/sgi-webuci/host/buildconfig.sh @@ -0,0 +1,20 @@ +#!/bin/sh +CWD=$1 +cat <<EOF +Port 8080 +ErrorLog /dev/stderr +AccessLog /dev/stderr +DocumentRoot $CWD/www +DirectoryMaker $CWD/usr/lib/boa/boa_indexer +KeepAliveMax 1000 +KeepAliveTimeout 10 +MimeTypes $CWD/etc/mime.types +DefaultType text/plain +CGIPath $CWD/bin:$CWD/usr/bin:$CWD/usr/local/bin + +AddType application/x-httpd-cgi cgi +AddType application/x-httpd-cgi sh + +ScriptAlias /cgi-bin/ $CWD/www/cgi-bin +PluginRoot $CWD/usr/lib/boa +EOF |