Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- when HTTP_REQUEST {
- set path [string tolower [HTTP::path]]
- set host [string tolower [HTTP::host]]
- switch -glob $path {
- "/" {
- HTTP::uri "/lsa/"
- switch -glob $host {
- "*editdev.lsa.umich.edu*" {
- pool lsa-cmsdevdlv_pool
- return
- }
- "*editqa.lsa.umich.edu*" {
- pool lsa-cmsqadlv_pool
- return
- }
- "*edit.lsa.umich.edu*" -
- "*editprod.lsa.umich.edu*" {
- pool lsa-cmsproddlv_pool
- return
- }
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment