File: lighttpd-horde.conf

package info (click to toggle)
php-horde 5.2.1%2Bdebian0-2%2Bdeb8u3
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 12,252 kB
  • ctags: 2,180
  • sloc: php: 11,103; xml: 6,460; sh: 96; makefile: 33; sql: 1
file content (18 lines) | stat: -rw-r--r-- 708 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
## This file should be reviewed prior to inclusion in your lighttpd
## configuration.  Specifically, if you have horde somewhere other than
## /horde 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-horde.conf"
## The exact path you use will of course depend on your specific configuration.

url.rewrite-once += (
        ## RPC Rewrite Rules
        "^/horde/rpc/(.*)$" => "/horde/rpc/index.php/$1"
)

$HTTP["url"] =~ "(/templates/|(?<!js/syntaxhighlighter)\/scripts/|/lib/|/po/|/locale/|(?<!admin)\/config\/)" {
    url.access-deny = ("")
}