Hi all,
I already did it. This is my mail VirtualHost file in the sites-enabled folder:
<VirtualHost *>
DocumentRoot "/var/www/mail"
ServerName
server2.server.com
ServerAdmin
support@mycompany.com
DirectoryIndex index.html index.php
RewriteEngine On
RewriteRule ^/$ /mail [L,R]
ProxyRequests On
ProxyPreserveHost On
ProxyVia full
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /mail/
http://172.18.8.2:80/
ProxyPassReverse /mail/
http://172.18.8.2:80/
</VirtualHost>
Also I created the
mail folder under /var/www but I suppose I must create the index.html or php file to redirect all the calls from that directory to the mail server. Does anybody tell me what to type in that file?
Im sorry but i'm newbie in these cases.
Thx
Recent comments
22 hours 23 min ago
22 hours 28 min ago
1 day 3 hours ago
1 day 10 hours ago
1 day 10 hours ago
1 day 12 hours ago
1 day 16 hours ago
1 day 23 hours ago
2 days 3 hours ago
2 days 4 hours ago