How to Install Apache 2.4.2 from Source on CentOS with SSL

If you try to follow the how to install Apache with SSL article that we discussed a while back, you’ll face an issue during “make” because of version compatibility between Apache 2.4.4 and APR utilities (Apache Portable Runtime Library) that comes with CentOS 6.

We’ve explained in this article how to solve that issue to get the latest Apache working on CentOS or RedHat.

Make sure you have gcc and openssl-devel installed.

# yum install gcc

# yum install openssl-devel

Continue reading

Posted in OneWorld | Leave a comment

Apache Configuration Best Practices on CentOS

There are numerous ways to organize your Apache configuration files. In some cases this organization will be dictated by your Linux distribution or control panel choice. When I’m working on RedHat/CentOS with no control panel here’s what I have found to be a good organization:

Continue reading

Posted in OneWorld | Leave a comment

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
Posted in Quản Trị Mạng Linux | Leave a comment