Quote:
|
Originally Posted by drogers i ran the zmiptables commands, and now it says that /zimbra/mail cannot be found... |
Good, you're on the right track.
Quote:
|
Originally Posted by drogers I then added what you gave me to the httpd.conf file. and now curley.quirkservice.com goes right back to the zimbra log in again.
i looked at /opt/zimbra/bin/zmiptables, and it still looks the same as it was since i commented out the 80 => 7070 line. |
Yeah, the httpd.conf snippet I mentioned is only part of what you'll need for it to work. This is what I would expect with just that snippet... you still have to tell it what you want to do with non-Zimbra web requests (ie, for curley.quickservice.com).
The entire thing you want to add would probably look something like the following:
Code:
NameVirtualHost *:80
<VirtualHost *:80>
ServerName curley.quirkservice.com
DocumentRoot /var/www/html
<Directory /var/www/html>
Options -Indexes FollowSymLinks MultiViews +ExecCGI
AllowOverride All
<IfModule mod_access.c>
Order allow,deny
Allow from all
</IfModule>
</Directory>
</VirtualHost>
<VirtualHost *:80>
# Servername is the domain name you want users to type into their
# browser in order to connect to Zimbra
ServerName mail.quirkservice.com
# Pass every request off to Zimbra
RewriteEngine On
RewriteRule ^(.*)$ http://127.0.0.1:7070$1 [P]
RewriteRule ^proxy:.* - [F]
# On the way back, rewrite headers containing this domain name and port,
# effectively hiding the port from the user
ProxyPassReverse / http://mail.quirkservice.com:7070/
ProxyPreserveHost On
</VirtualHost> Quote:
|
Originally Posted by drogers my goal is to have people go to http://mail.quirkservice.com and get to the mail client, which i think is possible once the dns finishes propagating ( i only added mail.quirkservice.com to the dns a few hours ago) given the info you gave me to put in my httpd.conf file. |
Sure, that makes sense.
Adding the above to your httpd.conf file should do that for you. It assumes that you'll be putting a webpage for curley.quirkservice.com in the directory /var/www/html/.
Have a good one,
-Eric