added an example using aliases

This commit is contained in:
Jordi Sanfeliu 2014-02-20 08:56:58 +01:00
parent 6f12b876be
commit cbc7c4bf74
1 changed files with 5 additions and 0 deletions

View File

@ -2,3 +2,8 @@ $HTTP["host"] =~ "your\.monitorix\.vhost$" {
server.document-root = "/var/www/localhost/htdocs/monitorix"
alias.url = ( "/cgi" => "/var/www/localhost/cgi/" )
}
# You might also want to use aliases (not the recommended way)
# alias.url += ( "/monitorix/" => "/var/lib/monitorix/www/" )
# alias.url += ( "/monitorix-cgi/" => "/var/lib/monitorix/www/cgi/" )