openbsd misc wrote:

Did you try it with a dns name? I'm using /var/www/etc/hosts (httpd is
chrooted per default) for that.

Bingo!

# mkdir /var/www/etc/
# cp /etc/hosts /var/www/etc/hosts
# chown -R www:www /var/www/etc/hosts

- Enabled mod_proxy
- Changed the IP address of the app server to the hostname
- Restarted Apache

---------------
LoadModule proxy_module       /usr/lib/apache/modules/libproxy.so

<IfModule mod_proxy.c>
ProxyRequests Off

<Directory proxy:http://webmail.sendmail.tv>
        Order deny,allow
        Allow from all
</Directory>

ProxyVia Off
</IfModule>

<VirtualHost 24.87.68.160:80>
        ServerName webmail.sendmail.tv
        ProxyPass / http://hub:81/
        ProxyPassReverse  / http://hub:81/
        CustomLog logs/access_log.int1 combined

        <Location />
                Order allow,deny
                Allow from all
        </Location>
</VirtualHost>
---------------


It works!! Thank you!!!!

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

Reply via email to