Forum Discussion
Rajesh_74831
Nimbostratus
Nov 12, 2014Want to remove "/" at the end of uri
Hi All,
We wanted to create an irule which should remove "/" from the uri.
Something like if user tries /">http://abc.com/xxxx/ it should be redirected to http://abc.com/xxxx .
I tried...
Rajesh_74831
Nimbostratus
Nov 12, 2014$ curl -v qa2.opensky.com * Rebuilt URL to: qa2.opensky.com/ * About to connect() to qa2.opensky.com port 80 (0) * Trying 192.168.71.154... * Adding handle: conn: 0x7fc87b80f800 * Adding handle: send: 0 * Adding handle: recv: 0 * Curl_addHandleToPipeline: length: 1 * - Conn 0 (0x7fc87b80f800) send_pipe: 1, recv_pipe: 0 * Connected to qa2.opensky.com (192.168.71.154) port 80 (0)
GET / HTTP/1.1 User-Agent: curl/7.33.0 Host: qa2.opensky.com Accept: /
- HTTP 1.0, assume close after body < HTTP/1.0 302 Found < Location: https://qa2.opensky.com/ < Server: BigIP
- HTTP/1.0 connection set to keep alive! < Connection: Keep-Alive < Content-Length: 0 <
- Connection 0 to host qa2.opensky.com left intact
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