Forum Discussion
MODdev_119626
Nimbostratus
Jan 15, 2014Requests from BlueCoat SG Proxy Return 404.4
A site is configured on IIS7 boxes. A client has added BlueCoat SG Proxy on their end. The calls that are going through that proxy get successful responses from the site behind Nginx and exact same c...
nitass
Employee
Aug 22, 2014can you try something like this?
config
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm virtual bar
ltm virtual bar {
destination 172.28.24.10:443
ip-protocol tcp
mask 255.255.255.255
pool foo
profiles {
clientssl {
context clientside
}
http { }
tcp { }
}
rules {
qux
}
source 0.0.0.0/0
source-address-translation {
type automap
}
vs-index 70
}
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm pool foo
ltm pool foo {
members {
200.200.200.101:80 {
address 200.200.200.101
}
}
}
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm rule qux
ltm rule qux {
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "https://mySite.com/" } {
HTTP::uri [string map {https://mySite.com/ /} [HTTP::uri]]
}
}
}
test
1 10 1408672423.5666 (0.0039) C>SV3.1(94) application_data
---------------------------------------------------------------
GET https://mySite.com/myURI?myQueryString HTTP/1.1
Host: mysite.com
---------------------------------------------------------------
New TCP connection 2: 200.200.200.14(40399) <-> 200.200.200.101(80)
1408672423.5814 (0.0139) C>S
---------------------------------------------------------------
GET /myURI?myQueryString HTTP/1.1
Host: mysite.com
---------------------------------------------------------------
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