Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

All over the internet I see examples of people using ProxyPass, where the syntax looks something like this:

<Location />
    ProxyPass / ajp://localhost:8009/
    ProxyPassReverse / ajp://localhost:8009/

But, that doesn't work for me. In my configuration of Apache 2.2.17 and Tomcat 5.5, if I try to do that, my server won't start and gives no clear error message in the logs that tells me why, BUT if I do it this way (shown below) , it does work . Why is this?? :

<Location />
    ProxyPass ajp://localhost:8009/
    ProxyPassReverse ajp://localhost:8009/
share|improve this question
Do you have mod_proxy loaded? – EEAA Apr 29 '11 at 2:50
up vote 2 down vote accepted

The first example would work if you changed ajp to http as that is the http proxy syntax. The ajp proxy doesn't take the /path parameter like the http proxy does.

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.