All pastes #293249 Raw Edit

Sans titre

public text v1 · immutable
#293249 ·published 2006-12-27 10:59 UTC
rendered paste body

$HTTP["host"] == "fallengalaxy.net" {
  server.document-root = "/home/vusers/fallengalaxy/dotnet/"
  url.rewrite-once = ( "^([a-zA-Z]{2,2})/news/(all|game|website|technical|galaxy|other)/([0-9]+)-([0-9]+)$" => "news.php?lang=$1&cat=$2&index=$3&count=$",
                       "^([a-zA-Z]{2,2})/news/([0-9]+)$" => "news.php?lang=$1&id=$2",
                       "^([a-zA-Z]{2,2})/rss/(all|game|website|technical|galaxy|other)$" => "rss.php?lang=$1&cat=$2",
                       "^([a-zA-Z]{2,2})/confirm/([a-fA-F0-9]+)$" => "confirm.php?lang=$1&hash=$2",
                       "^([a-zA-Z]{2,2})/play/([_a-zA-Z0-9\./-]+)$" => "play/$2",
                       "^([a-zA-Z]{2,2})/play/$" => "play/index.php",
                       "^([a-zA-Z]{2,2})/([_a-zA-Z0-9/-]+)$" => "$2.php?lang=$1",
                       "^([a-zA-Z]{2,2})$" => "index.php?lang=$1"
                    )
}