File: lighttpd-wicked.conf

package info (click to toggle)
php-horde-wicked 2.0.1-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,528 kB
  • ctags: 1,236
  • sloc: php: 5,386; xml: 1,027; makefile: 10; sh: 3
file content (23 lines) | stat: -rw-r--r-- 1,111 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## This file should be reviewed prior to inclusion in your lighttpd
## configuration.  Specifically, if you have ansel somewhere other than
## /horde/wicked you will need to edit the following rules to match your server
## configuration.

## This file should be included in your lighttpd.conf file with the "include"
## directive. Example:
##   include "path/to/lighttpd-wicked.conf"
## The exact path you use will of course depend on your specific configuration.

url.rewrite-once += (
        "^/horde/wicked/diff\.php.*$" => "$0",
        "^/horde/wicked/display\.php.*$" => "$0",
        "^/horde/wicked/history\.php.*$" => "$0",
        "^/horde/wicked/index.php\.*$" => "$0",
        "^/horde/wicked/opensearch\.php.*$" => "$0",
        "^/horde/wicked/preview\.php.*$" => "$0",
        "^/horde/wicked/test\.php.*$" => "$0",
        "^/horde/wicked/view\.php.*$" => "$0",
        "^/horde/wicked/(themes|js)/.*$" => "$0",
        "^/horde/wicked/([A-Za-z0-9/]+)/?(?:\?(.*))?$" => "/horde/wicked/display.php?page=$1&$2",
        "^/horde/wicked/([A-Za-z0-9/].*)$" => "/horde/wicked/display.php?page=$1"
)