Link to home
Start Free TrialLog in
Avatar of qlc
qlc

asked on

Apache 1.3 Proxy Invalid command 'ProxyPreserveHost', perhaps mis-spelled or defined by a module not included in the server configuration

Hi,

I'm inherited Apache 1.3.39 on FreeBSD 6.2 Release that was installed from ports and it is runing a bunch a vhosts. Upgrading at this time is not an option. I need to add a vhost that is a proxy.

The following is in my httpd.conf:
LoadModule proxy_module       libexec/apache/libproxy.so
AddModule mod_proxy.c

Open in new window


I have the module in libexec directory:
-rwxr-xr-x  1 root  wheel  86285 Jan  9  2008 /usr/local/libexec/apache/libproxy.so

Open in new window


I add the folllowing to httpd.conf:
<VirtualHost *:*>
ServerName www.domain.com
ServerAlias domain.com
ProxyPass / http://192.168.0.247/
PoxyPassReverse / http://192.168.0.247/
ProxyPreserveHost On
</VirtualHost>

Open in new window


I get the following error message:
Syntax error on line 1677 of /usr/local/etc/apache/httpd.conf:
Invalid command 'ProxyPreserveHost', perhaps mis-spelled or defined by a module not included in the server configuration

Open in new window


Any help at all would be greatly appreciated since I'm under a very tight deadline.
ASKER CERTIFIED SOLUTION
Avatar of qlc
qlc

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial