Forum Discussion
Ingo_37166
Nimbostratus
Apr 02, 2008manipulate url displayed in browser
Hello guys,
i am prety new to all this stuff, so here is my newbie question. [Smile]
I want the users browser to allways display the same and not the full url.
Example: at the moment the browser displays http://www.test.com/irj/stuff/blabla
I want to remove the "irj/stuff/blabla" - so the user can not see in what path etc. the application is running.
Is this possible with "HTTP_RESPONSE". I ended up with the code below, but it does not do anything to what the browser displays [Blush]
Any ideas? Its a Version 9x BigIP !!
Thanks, Ingo
when HTTP_RESPONSE {
set server_location [string tolower [HTTP::header Location]]
if {$server_location starts_with "www.test.com/irj/"} {
HTTP::header replace Location [string map -nocase {www.test.com/irj/stuff/blabla www.test.com} [HTTP::header value Location]]
}
}
- hoolio
Cirrostratus
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