# Virtual Hosts
#
# Required modules: mod_log_config
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
#
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# Use name-based virtual hosting.
#
##NameVirtualHost *:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ##ServerName or ##ServerAlias in any block.
#
##
##ServerAdmin webmaster@dummy-host.example.com
##DocumentRoot "D:/xampp/htdocs/dummy-host.example.com"
##ServerName dummy-host.example.com
##ServerAlias www.dummy-host.example.com
##ErrorLog "logs/dummy-host.example.com-error.log"
##CustomLog "logs/dummy-host.example.com-access.log" common
##
##
##ServerAdmin webmaster@dummy-host2.example.com
##DocumentRoot "D:/xampp/htdocs/dummy-host2.example.com"
##ServerName dummy-host2.example.com
##ErrorLog "logs/dummy-host2.example.com-error.log"
##CustomLog "logs/dummy-host2.example.com-access.log" common
##
DocumentRoot "D:/web"
ServerName localhost
ServerName www.changfansem.com
DocumentRoot "D:/web/changfan"
ServerName www.changfanku.com
DocumentRoot "D:/web/fanku"
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{HTTP_HOST} ^changfanku.com [NC,OR]
RewriteCond %{HTTP_HOST} ^www.changfanku.com [NC]
RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R,L]
ServerName test5.changfansem.com
DocumentRoot "D:/web/wutianjia"
ServerName mall.u-xb.com
DocumentRoot "D:/web/chengta"
ServerName m.shct-hvac.com
DocumentRoot "D:/web/chengtawapsss"
ServerName www.zexidiban.com
DocumentRoot "D:/web/zexi"
ServerName m.zexidiban.com
DocumentRoot "D:/web/zexiwap"
ServerName www.madefuns.com
DocumentRoot "D:/web/fengshi"
ServerName m.madefuns.com
DocumentRoot "D:/web/fengshiwap"
ServerName www.luoshenlaowu.com
DocumentRoot "D:/web/luoshen"
ServerName www.dgtiandu.com
DocumentRoot "D:/web/tiandu"
ServerName 123.206.101.88
DocumentRoot "D:/web/taifugao"
ServerName 123.206.101.88
DocumentRoot "D:/web/meiluo"
ServerName www.u-xb.com
DocumentRoot "D:/web/uxb"
ServerName www.jayhua.com
DocumentRoot "D:/web/tiantian"
ServerName malls.u-xb.com
DocumentRoot "D:/web/mall/ecshop"
ServerName api.u-xb.com
DocumentRoot D:/web/mall/appserver/public
RewriteEngine on
# Don't rewrite files or directories
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
# Rewrite everything else to index.html to allow html5 state links
RewriteRule ^ index.php [L]
Header set Access-Control-Allow-Origin '*'