@@ -42,7 +42,7 @@ cgi.assign = ( ".sh" => "/bin/bash" )
url.access-deny = ( "~", ".inc", ".htaccess", ".htpasswd")
$HTTP["request-method"] == "POST" {
- server.document-root = "/www/lib"
+ server.document-root = "/www/lib/cgi"
url.rewrite = ( ".*" => "post.sh" )
}
@@ -3,6 +3,9 @@
## where SuperGlue storage is mounted
_SG=/www/htdocs
+## mount if needed
+mountpoint -q $_SG || block mount $_SG
+
## if /www is mounted
mountpoint -q $_SG && (