Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have an application on tomcat on address http://myserver:8080, but I want it to be server on specific url, e.g. http://myserver/jira. So I want everything that starts with myserver/jira to be mapped to myserver:8080:

http://myserver/jira => http://myserver:8080

http://myserver/jira/Dashboard => http://myserver:8080/Dashboard

How can I do it?

share|improve this question
add comment

2 Answers 2

Do you already have apache listening on port 80? If not, you can just change tomcat's configuration in server.xml to change what port it listens on.

If you already have apache running, you'll need to use mod_proxy to proxy requests through to port 8080. Atlassian has lots of great documentation on how to dothis, but feel free to reply if you need more details.

share|improve this answer
add comment

Use the Apache Tomcat connector to forward requests from httpd to Tomcat.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.