Forum Discussion
Squeak
Cirrus
Sep 04, 2019Rewrite issue with Portal Access
Hello, I´ve a rewrite issue with a internal webpage that I´m publishing with Portal Access. The APM module adds "F5CH=I" to the image path and "F5CH=C" to the css path. styles.css?F5CH=C
/i...
Sep 04, 2019
Hi Squeak,
I think, you should use "||" operator instead of "&&" operator
when HTTP_REQUEST {
set wtType [ACCESS::session data get session.policy.result.webtop.type]
if { [info exists wtType] && $wtType == "full" } {
if { (not ([HTTP::uri] starts_with "/f5-w")) && (([HTTP::uri] contains "styles") || ([HTTP::uri] contains "/images")) } {
log local0. "====> Before ====> [HTTP::uri] "
HTTP::uri "/f5-w-MASKED_HEX$$[HTTP::uri]"
log local0. "Corrected ====> [HTTP::uri]"
}
}
unset wtType
}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
