]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - lighttpd.conf.example
Don't accept non-objects before testing with "instanceof".
[quix0rs-gnu-social.git] / lighttpd.conf.example
1 # This is completely optional, but if you're running a site with
2 # ssl="always" configured, then you might as well redirect any of
3 # your stray HTTP visitors to HTTPS.
4 #
5 #$HTTP["scheme"] == "http" {
6 #  $HTTP["host"] =~ "^(social\.example\.com)$" {
7 #    url.redirect = ( "^\/?(.*)" => "https://%1/$1" )
8 #    server.name                 = "%1"
9 #  }
10 #}
11
12 # If you're using vhosts, you should have per-vhost server.document-root
13 #   settings too! Read how in the respective alternative vhost modules.
14 #$HTTP["host"] =~ "^social\.example\.com$" {
15
16 #    NOTE: configure fastcgi/cgi/fpm here if you're using per-user cgi/fpm
17 #    fastcgi.server += ( ".php" =>
18 #      ( "localhost" => (
19 #        "host" => "127.0.0.1",
20 #        "port" => "9000"
21 #      ))
22 #    )
23
24     dir-listing.activate = "disable"
25
26 # Make sure "mod_rewrite" is enabled in server.modules
27     url.rewrite-if-not-file = ( "^/(.*)$" => "/index.php/$1" )
28 #}