httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Covener" <>
Subject Re: [users@httpd] Question: ProxyPass not working??
Date Mon, 07 Apr 2008 14:47:03 GMT
On Mon, Apr 7, 2008 at 10:36 AM,  <> wrote:
> Hi, Eric:
>  Thank you very much for your response. I've set
>     RewriteLogLevel 4
>     RewriteLog "/var/log/www/rewrite.log"
>  and found that Apache did not check ProxyPass rules at all. If I added:
>     RewriteRule ^/pics/(.*\.jpg)$$1   [P,L]
>  This worked as expected, but my questions are:
>  (1) can this hide the backend image server from outside? how can I check this??
>  (2) How can I make the ProxyPass work if I want to make some
>  fine-controls over the proxy..

In 2.0 you can't count on when proxypass and rewrite run relative to
eachother from system to system. In 2.2. and higher it's at least
explicitly coded (although I don't recall which comes first)

Don't mix proxypass and Rewrite-with-proxy for the same URL-space.

On systmes where by luck of the draw ProxyPass runs first, you might
see your rewriterules skipped.

Eric Covener

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message