File: lighttpd.conf

package info (click to toggle)
textpattern 4.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,888 kB
  • ctags: 4,970
  • sloc: php: 27,609; sh: 175; makefile: 20
file content (19 lines) | stat: -rw-r--r-- 471 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# You may want to set up this alias differently depending on your
# virtual host configuration. Do not forget to adapt the rest of the
# configuration.

alias.url += (
     "/textpattern" => "/var/lib/textpattern",
)

$HTTP["url"] =~ "^/textpattern" {
  server.error-handler-404 = "/textpattern/index.php"
  server.follow-symlink = "enable"
}

$HTTP["url"] =~ "^/textpattern/textpattern/setup.*" {
  $HTTP["remoteip"] != "127.0.0.1" {
    url.access-deny = ( "" )
  }
}