Welcome to WebmasterWorld Guest from 54.226.246.160

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

ProxyPass ProxyReverse and ReWrite rule

     

tsdjim

5:23 pm on May 13, 2013 (gmt 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]

Dideved

6:30 pm on May 13, 2013 (gmt 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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month