Super User is a question and answer site for computer enthusiasts and power users. 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

Not sure if this is the right stack exchange to post this. If there is a better place please redirect me - thanks.

I enabled these lines in httpd.conf:

LoadModule proxy_module modules/
LoadModule proxy_connect_module modules/
LoadModule proxy_http_module modules/

Then I added these lines:

ProxyRequests Off

<Proxy *>
    Order deny,allow
    Allow from all

ProxyPass /goo
ProxyPassReverse /goo

If I open up my browser and go to this URL:


I get redirected to:

I expected that mod_proxy would act like a proxy and not just redirect to google. I would expect that my browser should NOT know that exists and should only know about the existance of the proxy server.

  1. What is going on here?
  2. Is this not what mod_proxy was designed for?
  3. Is there something else that I should be using instead?
share|improve this question

Have you tested the proxy with any other target? The redirect is likely to be happening on the Google side of the transaction. Can you also try redirecting the root of the domain (i.e. /) and see it that has any effect?

FWIW, have exactly the same ProxyPass configuration as you (though without Google), and I have requests being forwarded with no problems.

That said, if you can edit your post to include the full VirtualHost and Apache configuration, that may help clarify things.

share|improve this answer
The rest of the configuration is the default apache configuration plus several aliases and script aliases. --- I tried pointing at several other sites (, several sites inside my intranet) but had the same result. – sixtyfootersdude Jul 30 '13 at 22:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .