: 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
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.
More posts by @Sue5673885
1 Comments
Sorted by latest first Latest Oldest Best
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
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.