I added stream profile to the virtual machine (beta),
virtual beta {
pool betapool
destination 172.16.0.24:http
ip protocol tcp
rules ProxyPass
profiles
http
oneconnect
stream
tcp
}
Then I got following things in /var/log/ltm:
Jul 9 11:34:56 tmm tmm[1577]: Rule ProxyPass : beta, Host=www.site1.com, URI=/support/: Looking for entries matching www.site1.com/support/
Jul 9 11:34:56 tmm tmm[1577]: Rule ProxyPass : beta, Host=www.site1.com, URI=/support/: Found Rule, Client Host=www.site1.com, Client Path=/support, Server Host=www.site2.com, Server Path=/support
Jul 9 11:34:56 tmm tmm[1577]: Rule ProxyPass : beta, Host=www.site1.com, URI=/support/: New Host=www.site2.com, New Path=/support/
Jul 9 11:34:56 tmm tmm[1577]: Rule ProxyPass : beta, Host=www.site1.com, URI=/support/: Using default pool betapool
Jul 9 11:34:56 tmm tmm[1577]: Rule ProxyPass : beta, Host=www.site1.com, URI=/support/: Removed Accept-Encoding header
Jul 9 11:34:56 tmm tmm[1577]: Rule ProxyPass : beta, Host=www.site1.com, URI=/support/: $stream_expression_cmd: STREAM::expression "@www.site2.com/support@www.site1.com/support@", $stream_enable_cmd: STREAM::enable
Jul 9 11:34:56 tmm tmm[1577]: Rule ProxyPass : beta, Host=www.site1.com, URI=/support/: Successfully configured and enabled stream filter
In browser, I got following error:
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
Please try the following:
* Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
* If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
* Click the Back button to try another link.
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)
Technical Information (for support personnel)
* Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404.
* Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages.
Idea?
Thank you,
Victor