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

I'm using a proxy: action in mod_security2. I'd like to preserve the full URL of the original request, however, and it seems to be rewriting that to the url in my proxy: action.

So a request to

hits my the below statement

SecAction proxy:

This seems to be getting proxied to, which I'd like it to be proxied to

Is this possible?

share|improve this question

SecAction doesn't provide for reverse proxy I believe.

This explains how to do this in Apache:

share|improve this answer
I'm not actually using SecAction - I'm using a SecRule with a proxy action: SecAction is a slightly easier way to illustrate. Either way though,… indicates that proxy is a legitimate action though. – Cian May 28 '13 at 21:38
If you put the SecRule entry it would help. – Schrute May 30 '13 at 16:27
The SecRule entry shoudln't matter - SecAction triggers it too. But, the SecRule I have is SecdRule ARGS:Arg1 PROD \ proxy: – Cian Jun 25 '13 at 10:23

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.