> Hello
>
> I am running 2.24 and want to use mod_proxy to perform what I thought
> would be a very simple proxying job of taking requests from our local
> web server in the DMZ and passing them to an application server behind
> the firewall that has an internal IP, and back again. I have followed
> the standard implementation thus:
>
> <VirtualHost *:8080>
> ServerName mywebserver:8080
>
> # Reverse Proxy Test PS 260607
>
> ProxyRequests Off
>
> <Proxy *>
> Order deny,allow
> Allow from all
> </Proxy>
>
> ProxyPass / http://myappserver.local:8331/
> ProxyPassReverse / http://myappserver.local:8331/
>
> </VirtualHost>
>
> However, when I go to http://myserver:8080 instead of retaining this
> address and feeding the content the client is simply taken directly to
> the back end server. Everything I have looked at on forums and help
> sites indicate that what I am doing is right so can anyone give me some
> ideas as to what I should be looking at to fix this. Any particular
> behaviour on web pages you are trying to proxy that might break the
> reverse proxy?
>
> Thanks
>
> Paul

I suspect you have "UseCanonicalName On" elsewhere in your config.
Set it to Off and see if that helps.

http://httpd.apache.org/docs/2.0/mod/core.html#usecanonicalname

Mark.

-- 
Mark Watts BSc RHCE MBCS
Senior Systems Engineer
QinetiQ Trusted Information Management
Trusted Solutions and Services Group
GPG Key: http://keyserver.veridis.com:11371/search?q=0x455420ED

Attachment: pgppyoqGnbQto.pgp
Description: PGP signature

Reply via email to