X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lighttpd.conf.example;h=c8c72842803774ef2b45a0b818d9975c09056347;hb=cecec3b0889cbba254a235816924e9d68353b9ee;hp=b8baafc9e36ec6ef75ee176c47ce6b3942927b8e;hpb=be5d113fc684fcbe41b8374c62bfeb0f267216b7;p=quix0rs-gnu-social.git diff --git a/lighttpd.conf.example b/lighttpd.conf.example index b8baafc9e3..c8c7284280 100644 --- a/lighttpd.conf.example +++ b/lighttpd.conf.example @@ -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" ) +#}