Forum Discussion
Tobias_Neumeyer
Jun 25, 2009Nimbostratus
Hi Aaron,
thanks a lot for your quick reply!
The alternate access mapping should be ok and SharePoint is working. But (I think) we have a special environment because it's hosted sharepoint. We have a lot of site collections in host header mode and only these sites have this issue. I have found a whitepaper from MS and they confirmed this in hosted environments.
I agree that a stream profile would be much better, but I can't get it to work.
I tried it with the iRule below from the example as well.
when HTTP_RESPONSE {
Disable the stream filter by default
STREAM::disable
Check if response type is text
if {[HTTP::header value Content-Type] contains "text"}{
Match any http:// instance and replace it with nothing
STREAM::expression {@http://@https://}
Enable the stream filter for this response only
STREAM::enable
}
}
when STREAM_MATCHED {
log local0. "[IP::client_addr]:[TCP::local_port]: matched: [STREAM::match], replaced with: [string map {http:// https://} [STREAM::match]]"
STREAM::replace "[string map {http:// https://} [STREAM::match]]"
The log output shows that it found content that match the expression but the links in the site still http://.
Don't know why?
Thanks
Tobias