Config webmail Mdaemon under Apache

– Run Mdaemon

– Config Mdaemon run webmail under apache: Setup->Web,Sync,..>check radio “WorldClient runs using external webserver(IIS, Apache,..).

-Config Apache Xampp:

+ Edit file httpd.conf

  • Add below line: #AddHandler type-map var : AddHandler isapi-isa .dll
  • Add :<Directory “C:/MDaemon/WorldClient/HTML>
    Options Indexes FollowSymLinks Includes ExecCGI
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory> at bottom file httpd.conf
  • Edit file httpd-vhosts.conf <VirtualHost *:80>
    DocumentRoot “C:/xampp/htdocs/”
    ServerName http://www.vinaglobal.local
    </VirtualHost>

    <VirtualHost *:80>
    DocumentRoot “C:/MDaemon/WorldClient/HTML”
    RedirectMatch ^/$ http://mail.vinaglobal.local/WorldClient.dll?View=Main
    ServerName mail.vinaglobal.local
    </VirtualHost>

  • Create subdomain : mail.vinaglobal.local reflect webmail server

About tanhc

Sinh Viên
This entry was posted in Quản Trị Mạng Linux. Bookmark the permalink.

Leave a comment