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

I would like to proxy specific URL paths to different internal ports: -> localhost:9091 -> standard apache file server

I have the following in my apache conf file:

ProxyPass /transmission/ http://localhost:9091/
ProxyPassReverse /transmission/ http://localhost:9091/

The problem is that if I access, it hits localhost:9091 fine, and then gets forwarded to which produces a 'file not found' error.

For some reason, the exact path /transmission is working, but /transmission/anythingelse is not. I have played around with various combinations of adding/removing slashes, but to no avail.

share|improve this question
Did you restart Apache after the changes to the config? The symptoms you're seeing do not match with the configuration that you've provided. – Shane Madden Jul 23 '12 at 6:28
Yes, apache was restarted after each change – mrwooster Jul 24 '12 at 2:49
So, /transmission proxies? Because with the config you're provided, it shouldn't.. – Shane Madden Jul 24 '12 at 2:55
up vote 2 down vote accepted

Use the ProxyPassMatch directive instead.

share|improve this answer
Works a charm!! – mrwooster Jul 26 '12 at 2:54

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.