- $HTTP["host"] == "sub.domain.com" {
- server.document-root = "/home/user/www/subdomain.com/public_html/"
- #accesslog.filename = "/home/user/www/sub.domain.com/logs/access.log"
- url.rewrite-once = (
- "^.*\.(css|jpg|jpeg|gif|png|js|ico)" => "$0",
- "^(admin|install).*$" => "$0",
- "^([^/\.]+)/?(?:\?(.*))$" => "index.php?page=$1&$2",
- "^([^/\.]+)/?$" => "index.php?page=$1",
- "^([^/\.]+)/([^/]+)/?(?:\?(.*))$" => "index.php?page=$1&id=$2&$3",
- "^([^/\.]+)/([^/]+)/?$" => "index.php?page=$1&id=$2",
- "^([^/\.]+)/([^/]+)/([^/]+)/?" => "index.php?page=$1&id=$2&subpage=$3"
- )
- }
20-sub.conf
Posted by z0TK on Mon 6th Jun 2011 13:06
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.
kpaste.net RSS