Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I would like to proxy specific URL paths to different internal ports:

example.com/transmission -> localhost:9091
example.com -> 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 example.com/transmission, it hits localhost:9091 fine, and then gets forwarded to example.com/transmission/web 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

1 Answer 1

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.