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:
I have the module in libexec directory:
I add the folllowing to httpd.conf:
I get the following error message:
Any help at all would be greatly appreciated since I'm under a very tight deadline.
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
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:
<VirtualHost *:*>
ServerName www.domain.com
ServerAlias domain.com
ProxyPass / http://192.168.0.247/
PoxyPassReverse / http://192.168.0.247/
ProxyPreserveHost On
</VirtualHost>
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.