summaryrefslogtreecommitdiffstats
path: root/meta-agl-ic-container/recipes-demo/momiweb/files
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-ic-container/recipes-demo/momiweb/files')
-rw-r--r--meta-agl-ic-container/recipes-demo/momiweb/files/momiweb.conf10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-agl-ic-container/recipes-demo/momiweb/files/momiweb.conf b/meta-agl-ic-container/recipes-demo/momiweb/files/momiweb.conf
new file mode 100644
index 00000000..0343867e
--- /dev/null
+++ b/meta-agl-ic-container/recipes-demo/momiweb/files/momiweb.conf
@@ -0,0 +1,10 @@
+# Momi web for lighttpd configuration
+server.modules += ( "mod_alias","mod_cgi" )
+$SERVER["socket"] == ":8080" {
+ server.document-root = "/www/momiweb/"
+ accesslog.filename = ""
+}
+alias.url = ( "/cgi-bin" => "/www/cgi-bin" )
+$HTTP["url"] =~ "^/cgi-bin" {
+cgi.assign = ( ".cgi" => "/bin/sh")
+}