|
|
|
@ -6,7 +6,7 @@ fastcgi.server = ( ".php" => |
|
|
|
|
( "localhost" => |
|
|
|
|
( |
|
|
|
|
"socket" => "/var/run/lighttpd/php-fastcgi.socket", |
|
|
|
|
"bin-path" => "/usr/bin/php5-cgi", |
|
|
|
|
"bin-path" => "/usr/bin/php-cgi", |
|
|
|
|
"allow-x-send-file" => "enable" |
|
|
|
|
) |
|
|
|
|
) |
|
|
|
@ -15,11 +15,11 @@ fastcgi.server = ( ".php" => |
|
|
|
|
$HTTP["host"] =~ "." { |
|
|
|
|
server.document-root = "/dokuwiki" |
|
|
|
|
static-file.exclude-extensions = ( ".php" ) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# deny access completely to these |
|
|
|
|
$HTTP["url"] =~ "/(\.|_)ht" { url.access-deny = ( "" ) } |
|
|
|
|
$HTTP["url"] =~ "^/(bin|data|inc|conf)/" { url.access-deny = ( "" ) } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# rewrites for dokuwiki |
|
|
|
|
$HTTP["url"] =~ "^" { index-file.names = ("doku.php") } |
|
|
|
|
url.rewrite = ( |
|
|
|
|