Just my config, nothing more!
$HTTP["host"] == "wiki.MYDOMAIN.TLD" { $HTTP["remoteip"] !~ "^2001:START-OF-MY-IPV6-ADDR" { url.access-deny = ( "" ) } $HTTP["remoteip"] =~ "^2001:START-OF-MY-IPV6-ADDR" { url.rewrite-once = ( "^/wiki/?([^?]*)$" => "/pmwiki.php?n=$1", "^/wiki/?([^?]*)[?](.*)$" => "/pmwiki.php?n=$1&$2" } url.rewrite = ( "^/scripts/" => "404.html", "^/wiki\.d/" => "404.html", "^/local/" => "404.html", "^/cookcook/" => "404.html" ) fastcgi.server = ( ".php" => ( "php-tcp3" => ( "host" => "127.0.0.1", "port" => 9003, # Do not check file exists on server side "check-local" => "disable", # Some php stuff "broken-scriptfilename" => "enable", # Docroot comes from sql in my case "docroot" => "/var/www" ,"fix-root-scriptname" => "enable" ) ), ) }
No comments:
Post a Comment