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
I have the module in libexec directory:
-rwxr-xr-x 1 root wheel 86285 Jan 9 2008 /usr/local/libexec/apache/libproxy.so
I add the folllowing to httpd.conf:
ProxyPass / http://192.168.0.247/
PoxyPassReverse / http://192.168.0.247/
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
Any help at all would be greatly appreciated since I'm under a very tight deadline.