X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lighttpd.conf.example;h=c8c72842803774ef2b45a0b818d9975c09056347;hb=32d88d5726a426411b8f998ddc77757d3f9123f0;hp=b8baafc9e36ec6ef75ee176c47ce6b3942927b8e;hpb=77f303c2be138aee34955e2a737bd9cb31caa2d4;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" ) +#}