Forum Discussion
- hooleylistCirrostratusHi Edgar,
when HTTP_REQUEST { if {[string tolower [HTTP::host]] ne "www.mysite.com"} { HTTP::redirect "http:://www.mysite.com[HTTP::uri]" } }
- Edgar_PalamarchNimbostratusThanks hoolio!
- Michael_YatesNimbostratusHi Edgar,
- Edgar_PalamarchNimbostratusThanks, hoolio and Michael! The iRule works as expected.
- Edgar_PalamarchNimbostratusActually, I overlooked the fact that we connect to www.mysite.com internally. Can I add an exception to the iRule so requests to www.mysite.mydomain.com go through?