]> git.pld-linux.org Git - packages/stikked.git/blob - lighttpd.conf
more complete list of dirs to hide from web
[packages/stikked.git] / lighttpd.conf
1 var.stikked_url = "/stikked"
2
3 alias.url += (
4         var.stikked_url => "/usr/share/stikked",
5 )
6
7 url.rewrite-once += (
8         "^" + var.stikked_url + "/static/(.*)$" => "$0",
9         "^" + var.stikked_url + "/favicon\.ico$" => "$0",
10         "^" + var.stikked_url + "/robots\.txt$" => "$0",
11         "^" + var.stikked_url + "/(.*)$" => var.stikked_url + "/index.php$2",
12 )
13
14 $HTTP["url"] =~ "^" + var.stikked_url + "/(config|cache|controllers|core|errors|helpers|hooks|libraries|logs|models|third_party)" {
15     url.access-deny = ("")
16 }
This page took 0.080151 seconds and 3 git commands to generate.