Mobile app version of vmapp.org
Login or Join
Sue5673885

: How can I redirect port 80 to a different port with Apache? I have tomcat running on port 8080 and want a particular URL, lets say http://example.com/app, to actually point to example.com:8080/app

@Sue5673885

Posted in: #Apache #Redirects #Tomcat

I have tomcat running on port 8080 and want a particular URL, lets say example.com/app, to actually point to example.com:8080/app

I have other content on the website that should remain unchanged.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Sue5673885

1 Comments

Sorted by latest first Latest Oldest Best

 

@Shelley277

It sounds like what you want is not a redirect but actually a proxy. Check out the information found in the mod_proxy config page. You should end up with something like:

ProxyPass /app example.com:8080/app ProxyPassReverse /app example.com:8080/app

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme