Hi folks,

I've done this before on different hosts but for some this doesn't work on our OpenBSD gateway. I'd appreciate any help.

I have a couple of apps (webmail) that sit behind the OpenBSD gateway running httpd. When I enable the proxy module and try to access the app behind it fails with this error:

Mon Aug 7 13:20:42 2006] [notice] Apache/1.3.29 (Unix) mod_gzip/1.3.26.1a PHP/5.0.5 mod_ssl/2.8.16 OpenSSL/0.9.7g configured -- resuming normal operations
[Mon Aug  7 13:20:42 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 7 13:20:47 2006] [error] [client 24.87.68.160] (22)Invalid argument: proxy connect to 0.0.0.0 port 81 failed [Mon Aug 7 13:20:47 2006] [error] [client 24.87.68.160] (22)Invalid argument: proxy connect to 0.0.0.0 port 81 failed [Mon Aug 7 13:20:48 2006] [error] [client 24.87.68.160] (22)Invalid argument: proxy connect to 0.0.0.0 port 81 failed [Mon Aug 7 13:20:49 2006] [error] [client 24.87.68.160] (22)Invalid argument: proxy connect to 0.0.0.0 port 81 failed

As you can see, it's not taking the IP address of the destination proxy host and thus fails.

Here is what I have in my httpd.conf

# Proxy
LoadModule proxy_module              /usr/lib/apache/modules/libproxy.so

# Settings
<IfModule mod_proxy.c>
ProxyRequests Off
ProxyVia On
NoCache *
</IfModule>

# Virtual Host
<VirtualHost 24.87.68.160:80>
       ServerName webmail.sendmail.tv
       ProxyRequests Off
       ProxyPass / http://10.10.33.3:81/
       ProxyPassReverse  / http://10.10.33.3:81/
</VirtualHost>

Warm Regards,

-Bruno

--
--------------------------------------------------------------------
Bruno Delbono | Systems Engineer | Open-Systems Group
Websites: www.mail.ac www.sendmail.tv www.open-systems.org
--------------------------------------------------------------------

Reply via email to