Super User is a question and answer site for computer enthusiasts and power users. 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

I am trying to setup reverse proxy on Apache/2.2.9 on Ubuntu server to reverse proxy the directory /someapp to another server, using the following config:

<VirtualHost *:80>
ServerAdmin webmaster@localhost

ProxyRequests Off

ProxyPass /someapp http://somehost:8080/someapp/
ProxyPassReverse http://somehome:8080/someapp/ /someapp

When I browse to http://host/someapp I am redirected to http://somehome:8080/someapp instead of proxying the request.

Is there something I missing?

share|improve this question
up vote 4 down vote accepted

Your last line should be the other way around:

ProxyPassReverse http://somehome:8080/someapp/ /someapp

should be:

ProxyPassReverse /someapp http://somehome:8080/someapp/

share|improve this answer

Your Answer


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.