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 managed to get it working partially; I installed mod_proxy and mod_proxy_html; I accidently pointed it at /jira as I was looking at another tutorial. Either way I added this to the end of my default sites-available

<VirtualHost :8080>
    ProxyRequests Off    
    ProxyPass /jira http://example.com:8080/
    ProxyPassReverse /jira http://example.com:8080/
</VirtualHost>

Now I have since removed that and it still works when I hit example.com/jira I get redirected to example.com:8080

So I have looked and read everywhere the answer isn't; I was hoping if anyone could help me resolve my issue.

  1. Make it so that when I hit example.com/jira doesn't work since I reverted all my changes that points it examples.com:8080

  2. Make it work for example.com/jenkins redirects to example.com:8080 but keeps the example.com/jenkins in the address bar.

  3. Which is better for this mod_proxy or mod_rewrite?

Please be explicit as possible I am new to apache. :)

Please and thank you.

share|improve this question
    
Did you restart apache after making the change? –  DerfK Mar 21 '11 at 21:52
    
@DerfK yes. yes. yes. I fixed the issue looks like I had a redirect in my httpd.conf I removed it and now gone away I still need help with the other issues. –  garbagecollector Mar 21 '11 at 21:54

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.