Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

can anybody tells me what's wrong on this:

there is an app on tomcat running with context mobile and we want to have it available on root context of url, I thought that this will done the job but it's not true, everytime I put request to this url apache adds one /mobile behind so after a few requests to the final request could looks like

<VirtualHost *:80>


    ProxyRequests Off
    ProxyPreserveHost On

    ProxyPass / http://localhost/mobile/
    ProxyPassReverse / http://localhost/mobile/

    <Proxy http://localhost/mobile/*>
      Order deny,allow
      Allow from all


Thanks for all answers.

share|improve this question

migrated from Oct 10 '12 at 15:19

This question came from our site for professional and enthusiast programmers.

Try adding

ProxyPass /mobile !
share|improve this answer

Your Answer


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