From: Drumm, Dan (ddrummIZZATball.com)
Date: Mon Jun 16 2003 - 15:10:39 EDT
Indeed, %u is what I needed. Thanks.
What page did you find that in the reference guide? I can't find it.
-----Original Message-----
From: Cauthorn, Matt (MAN-Corporate) [mailto:Matt.CauthornIZZATcox.com]
Sent: Monday, June 16, 2003 12:36 PM
To: 'lb-lIZZATvegan.net'
Subject: RE: [load balancing] F5 BIGIP codes for http 302
Didn't know you could to this, but you can:
Fallback hosts accept the following (taken from tech.f5.com - a great site)
Format String
Description
%h
host name, as obtained from the Host: header of the client
%p
Port, from the virtual server listening port
%u
URI path, as obtained from a GET/POST request
BM_1190524
BM_1191844
Format strings for HTTP redirection
An example of a fallback host string is https://%h/sample.html. In this
string, specifying https as the protocol identifier causes the traffic to be
redirected to that protocol instead of the standard http protocol. Also, the
string sample.html causes the traffic to be redirected to that URI instead
of to the standard URI specified in the HTTP header, which would normally be
represented in the fallback string as %u.
Table
<http://tech.f5.com/home/bigip/manuals/bigip4_2/bigip4_2ref/BIGip_servernet.
html#1192188> 4.8 shows some sample redirection specifications, their
explanations, and their resulting redirection.
Redirection string
Explanation
Resulting redirection
%h:%p/%u
No redirection (preserve host name, port, and path)
http://www/example.com:8080/sample
%h/unavailable
change path, remove port
http://www/example.com/unavailable
Specify https as protocol, remove port, change path
https://www/example.com/unavailable
www.sample.com:8080/%u
Change host name and port, preserve path
http://www.sample.com:8080/sample
https://1.2.3.4:443/%u/unavilable.html
Specify https as protocol, change host name, port, and path
https://1.2.3.4:443/sample/unavailable.html
ftp://1.2.3.4:%p/unavailable/%u
Specify ftp as protocol, change host name and path
ftp://1.2.3.4:8080/unavailable/sample
rtsp://%h:554/streamingmedia/%u
Specify rtsp as protocol, change port and path
rtsp://www.example.com:554/streamingmedia/sample
Glad you found this - I could use it myself.
Regards,
Matt
-----Original Message-----
From: Drumm, Dan [mailto:ddrummIZZATball.com]
Sent: Monday, June 16, 2003 1:39 PM
To: 'lb-lIZZATvegan.net'
Subject: [load balancing] F5 BIGIP codes for http 302
I've searched the docs for the codes for a fallback host in a pool.
I've created a fallback host, and found (just by trial and error) that
https://foo.bar.com/%p <https://foo.bar.com/%p>
returns https://foo.bar.com/80 <https://foo.bar.com/80>
Does anyone know the other % codes?
I'm trying to get the F5 do to this:
http://www.cisco.com/warp/public/117/local_director/http_red_diffserv.html
<http://www.cisco.com/warp/public/117/local_director/http_red_diffserv.html>
Be pretty odd if a Cisco could do something a BIGIP could not.
____________________
The Load Balancing Mailing List
Unsubscribe: mailto:majordomoIZZATvegan.net?body=unsubscribe%20lb-l
Archive: http://vegan.net/lb/archive
LBDigest: http://lbdigest.com
MRTG with SLB: http://vegan.net/MRTG
Hosted by: http://www.tokkisystems.com
This archive was generated by hypermail 2.1.4 : Mon Jun 16 2003 - 15:18:10 EDT