aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorClaude <longneck@scratchbook.ch>2013-04-16 19:36:07 +0200
committerClaude <longneck@scratchbook.ch>2013-04-16 19:36:07 +0200
commit86ec3943f216718e63c5417b30f44fab0c38f71e (patch)
treee4342d8fef17e14b9738089ab43ff7747be36dc8 /doc
parente0ef8391bf768cf0fa97993033579eed018354a6 (diff)
downloadstikked-fit-86ec3943f216718e63c5417b30f44fab0c38f71e.tar.gz
stikked-fit-86ec3943f216718e63c5417b30f44fab0c38f71e.tar.bz2
stikked-fit-86ec3943f216718e63c5417b30f44fab0c38f71e.zip
lighttpd sample config
Diffstat (limited to 'doc')
-rw-r--r--doc/TROUBLESHOOTING_GUIDE.md6
-rw-r--r--doc/webserver_sampleconfigs/lighttpd-site.conf23
2 files changed, 28 insertions, 1 deletions
diff --git a/doc/TROUBLESHOOTING_GUIDE.md b/doc/TROUBLESHOOTING_GUIDE.md
index 3b0809b..37be3ea 100644
--- a/doc/TROUBLESHOOTING_GUIDE.md
+++ b/doc/TROUBLESHOOTING_GUIDE.md
@@ -11,7 +11,7 @@ Rewrite rules must be enabled in httpd.conf.
#### 502 Bad Gateway
-PHP FastCGI must be running. Here's my /etc/init.d/php-fgci config:
+PHP FastCGI must be running. Here's my /etc/init.d/php-fcgi config:
```bash
#!/bin/bash
@@ -31,6 +31,10 @@ You can adapt that to your system.
### Lighttpd
+#### 503 - Service Not Available
+
+PHP FastCGI must be running. See the php-fcgi section under Nginx.
+
### Cherokee
Still have a problem?
diff --git a/doc/webserver_sampleconfigs/lighttpd-site.conf b/doc/webserver_sampleconfigs/lighttpd-site.conf
new file mode 100644
index 0000000..677bf78
--- /dev/null
+++ b/doc/webserver_sampleconfigs/lighttpd-site.conf
@@ -0,0 +1,23 @@
+server.modules += ( "mod_fastcgi" )
+server.modules += ( "mod_rewrite" )
+
+fastcgi.server += ( ".php" =>
+ ((
+ "host" => "127.0.0.1",
+ "port" => "9000",
+ "broken-scriptfilename" => "enable"
+ ))
+)
+
+$HTTP["host"] == "stikked" {
+ url.rewrite-once = (
+ "^/static/(.*)$" => "/static/$1",
+ "^/favicon\.ico$" => "/favicon.ico",
+ "^/robots\.txt$" => "/robots.txt",
+ "^/(.*)$" => "/index.php$2",
+ )
+
+ server.document-root = "/var/www/stikked/htdocs"
+
+ #accesslog.filename = "/var/log/lighttpd/stikked.access.log"
+}

© 2014-2024 Faster IT GmbH | imprint | privacy policy