views:

25

answers:

1

I got the following section in mine httpd.conf

<virtualhost *>
    ServerName my.domain.com
    ProxyRequests off
    ProxyPass / http://192.168.1.193/
    ProxyPassReverse / http://my.domain.com
</virtualhost>

The problem is that apache replaces the "Server" header with it's own IP address. How do I force it to use "my.domain.com" in the server header?

A: 

ProxyPreserveHost On

jgauffin