summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-webuci/host
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-06-11 22:11:55 +0000
committerSteven Barth <steven@midlink.org>2008-06-11 22:11:55 +0000
commitd8e5e32ad8af6f49a10dc0fe18c9c2327f924dcd (patch)
tree7960c52cb813fe1dab3fb7b0ee11e3371568e074 /libs/sgi-webuci/host
parent72019e300a1942f08981d38fefc9b21a7a40a21f (diff)
Revert "* Updated Boa to 0.94.14rc21 + Debian patches"
due to instability of new version Updated Boa configuration
Diffstat (limited to 'libs/sgi-webuci/host')
-rwxr-xr-xlibs/sgi-webuci/host/buildconfig.sh20
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 000000000..9889637e0
--- /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