git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 220ec072 authored by mmn's avatar mmn

Lighttpd config example updated.

parent de5049bf
# This is completely optional, but if you're running a site with
# ssl="always" configured, then you might as well redirect any of
# your stray HTTP visitors to HTTPS.
#
#$HTTP["scheme"] == "http" {
# $HTTP["host"] =~ "^(social\.example\.com)$" {
# url.redirect = ( "^\/?(.*)" => "https://%1/$1" )
# server.name = "%1"
# }
#}
# If you're using vhosts, you should have per-vhost server.document-root # If you're using vhosts, you should have per-vhost server.document-root
# settings too! Read how in the respective alternative vhost modules. # settings too! Read how in the respective alternative vhost modules.
#$HTTP["host"] =~ "^social\.example\.com$" {
#$HTTP["host"] =~ "^social\.domain\.com$" { # NOTE: configure fastcgi/cgi/fpm here if you're using per-user cgi/fpm
# NOTE: fastcgi/cgi/fpm config here if you're using per-user cgi/fpm # fastcgi.server += ( ".php" =>
# ( "localhost" => (
# "host" => "127.0.0.1",
# "port" => "9000"
# ))
# )
dir-listing.activate = "disable" dir-listing.activate = "disable"
# Make sure "mod_rewrite" is enabled in server.modules and change statusnet # Make sure "mod_rewrite" is enabled in server.modules
# to your statusnet directory. (uncommented line is for url root install) url.rewrite-if-not-file = ( "^/(.*)$" => "/index.php/$1" )
# url.rewrite-if-not-file = ( "^/statusnet/(.*)$" => "/statusnet/index.php?p=$1" )
url.rewrite-if-not-file = ( "^/(.*)$" => "/index.php?p=$1" )
#} #}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment