Forum Discussion
Sharepoint and Javascript Cancel event
I have a public site where users log into (F5 APM) and get to an internal Sharepoint page. The external site is called example.company.com and internall the Sharepoint site is called example_isa.company.com (it used to be behind an ISA server). I have a stream irule event so the user only ever sees example.company.com Everything works great but one thing.
When a user goes to the "upload a document" page and clicks on Cancel, it errors out. the cancel code shows this -
example_isa.company.com
I have the following code
when HTTP_RESPONSE {
STREAM::disable
if { [HTTP::header is_redirect] } {
HTTP::header replace Location [string map {"http://example_isa.company.com" "https://example.company.com"} [HTTP::header value Location]] }
if {[HTTP::header value Content-Type] contains "text"}{
STREAM::expression {@http://example.company.com@https://example.company.com@ @http://example.company.com@https://example.company.com@ @http:\u002f\u002f@https:\u002f\u002f@ @http:\\u002f\\u002f@https:\\u002f\\u002f@ }
STREAM::enable }}
when STREAM_MATCHED {
log local0. "matched: [STREAM::match]"}
With this, i get a 404 error and the URL looks like this -
Any Ideas??
14 Replies
- Chris_Miller
Altostratus
Forgot to sanitize your example RP ;) - AngryCat_52750
Nimbostratus
ARGH!!!!!!! - AngryCat_52750
Nimbostratus
I found an article with what i am trying to do exactly..
http://blogs.technet.com/b/paulpaa/archive/2009/09/26/when-we-click-on-the-folder-within-the-documents-library-you-get-an-error-as-below.aspx
Thats how its done in ISA.. how do i do this on the F5 - What_Lies_Bene1
Cirrostratus
The HTTP Profile Redirect Rewrite feature should suffice here I'd hope.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
