summaryrefslogtreecommitdiff
path: root/target/device/valka/target_skeleton/etc/lighttpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'target/device/valka/target_skeleton/etc/lighttpd.conf')
-rw-r--r--target/device/valka/target_skeleton/etc/lighttpd.conf25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/device/valka/target_skeleton/etc/lighttpd.conf b/target/device/valka/target_skeleton/etc/lighttpd.conf
new file mode 100644
index 000000000..14e28ed6f
--- /dev/null
+++ b/target/device/valka/target_skeleton/etc/lighttpd.conf
@@ -0,0 +1,25 @@
+server.document-root = "/valka/web"
+server.port = 80
+server.username = "valka"
+server.groupname = "valka"
+
+index-file.names = ( "index.php", "index.html" )
+mimetype.assign = (
+ ".html" => "text/html",
+ ".txt" => "text/plain",
+ ".js" => "text/css",
+ ".jpg" => "image/jpeg",
+ ".png" => "image/png"
+)
+
+server.modules = (
+ "mod_fastcgi",
+ "mod_rewrite"
+)
+
+fastcgi.server = (
+ ".php" => ((
+ "bin-path" => "/usr/bin/php-cgi",
+ "socket" => "/tmp/php.socket"
+ ))
+)