Forum Discussion
Denizor_21773
Sep 08, 2011Nimbostratus
scape backslash redirect
Hi guys,
I´m making some redirects but i have a problem with scape backslash
Exemplo:
if { [matchclass [HTTP::uri] starts_with $::redirectURIs] } {
HTTP::respond 301 "Location" "http://x.xxxxxx.com/"
}
class redirectURIs {
/Book\index.aspxNOT WORK
/KKKKKKKKKKKK/index.aspx REDIRECT PERFECT
if I put a backslash does not work (/Book "\" index.aspx). Can someone help me?
A Santos
- HamishCirrocumulusWhy do you want to use a backslash? In HTTP it's forward slashes (Depending on which RFC you're reading, but certainly in the original RFC's it's explicitly excluded).
- hoolioCirrostratusA couple of other tips:
- hoolioCirrostratusIIS will accept backslashes by the way. You can probably escape the backslash either using \\ or \\\ in the datagroup.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects