blob: 9889637e0a9ea61880709eb1370c7d1f829f5223 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
|