Forum Discussion
Michael_Horvat_
Nimbostratus
Mar 28, 2007Appending URI
Does anyone know why the http::uri will not set to the uri variable?
set uri [HTTP::uri]
if { ! ([matchclass [string tolower [HTTP::uri]] contains $::WebFiles])
...
J___Alford_4002
Nimbostratus
Mar 29, 2007I've been having the same difficulty. Tried the above sample code. Didn't work.
Slimmed it down and tried this:
when HTTP_REQUEST {
log local0. "in HTTP_REQUEST"
log local0. "Original: [HTTP::uri]."
set uri [HTTP::uri]
HTTP::uri "/prefix[HTTP::uri]/what_the/"
log local0. "After mapping: [HTTP::uri]"
}
The log local0. at the end doesn't show that it's been remapped. Why?
Thanks so much in advance,
Another Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
