Welcome to WebmasterWorld Guest from 54.159.50.111

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

ProxyPass ProxyReverse and ReWrite rule

     
5:23 pm on May 13, 2013 (gmt 0)

New User

joined:May 13, 2013
posts: 1
votes: 0


I have an application that is on port 86 so I run it with this url:

[my.address:86...]

I need to be able to enter [my.address...] and be
redirected to port 86 and all links within the site should have port 86 appended to them.

So far I have the following in VirtualHosts, but it works with different effects in Internet Explorer and firefox and the links within the site are always without the port:

ProxyPreserveHost Off
ProxyPass /esmac [my.address:86...]
ProxyPassReverse /esmac [my.address:86...]
RewriteEngine On
RewriteRule ^/esmac/(.*)$ [my.address:86...] [P]
6:30 pm on May 13, 2013 (gmt 0)

Junior Member

joined:Apr 6, 2013
posts:149
votes: 0


This seems like a run-of-the-mill canonical hostname issue. The hostname port may be unusual, but the code should still be largely the same.

See [httpd.apache.org...] for examples.