Httpd.conf===>
9001 123.123. 123.123: IP address as servernameloadmodule rewrite_module modules/mod_ Rewrite.soinclude conf/extra/httpd-vhosts.conf"\.ph (p[2-6]?| TML) $">SetHandler application/x-httpd-php</FilesMatch>
Httpd-vhost.conf===>
# Virtual Hosts<virtualhost *: the>ServerName www.abc2.comServerAlias abc2.com tianpin.bj.12543534. Clb.myqcloud.comDocumentRoot"/var/www/html"<directory"/var/www/html">Options+indexes +includes +followsymlinks +multiviewsallowoverride Allrequire All granted</Directory></VirtualHost>#<virtualhost *: the>#设置主机名ServerName www.abc.com# to set the host alias, which is also accessible with that alias (provided the domain name is resolved correctly) #ServerAlias Abc.comdocumentroot"/VAR/WWW/PTTABC"<directory"/VAR/WWW/PTTABC">#加上Indexes用于显示设定 "Show file List" (when no Web page is available) Options followsymlinks# files that have folder access control enabled. htaccess Settings allowoverride all# Request control require all granted</Directory></VirtualHost>
Latest Apache Multi-domain multi-site configuration