]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lighttpd.conf.example
Bad route config (thanks brw12)
[quix0rs-gnu-social.git] / lighttpd.conf.example
index b8baafc9e36ec6ef75ee176c47ce6b3942927b8e..c8c72842803774ef2b45a0b818d9975c09056347 100644 (file)
@@ -1,2 +1,13 @@
-# Add this line to lighttpd.conf to enable pseudo-rewrites using 404s
-server.error-handler-404 = "/index.php"
+# If you're using vhosts, you should have per-vhost server.document-root
+#   settings too! Read how in the respective alternative vhost modules.
+
+#$HTTP["host"] =~ "^social\.domain\.com$" {
+    # NOTE: fastcgi/cgi/fpm config here if you're using per-user cgi/fpm
+
+    dir-listing.activate = "disable"
+
+# Make sure "mod_rewrite" is enabled in server.modules and change statusnet
+#   to your statusnet directory. (uncommented line is for url root install)
+# url.rewrite-if-not-file = ( "^/statusnet/(.*)$" => "/statusnet/index.php?p=$1" )
+    url.rewrite-if-not-file = ( "^/(.*)$" => "/index.php?p=$1" )
+#}