1.在apache httpd.conf開啓服務器裏面的虛擬主機apache
Include conf/extra/httpd-vhosts.conf服務器
2.在apache vhost.conf文件修改虛擬主機ide
<VirtualHost *:80>
DocumentRoot "D:/CYH/bitnami/apache2/htdocs/crm"
ServerName www.crm.me
ServerAlias crm.me
<Directory "D:/CYH/bitnami/apache2/htdocs/crm">
Options Indexes FollowSymLinks
AllowOverride All
</Directory>
</VirtualHost>spa
3.在C盤hosts文件修改文件it
127.0.0.1 www.crm.me crm.meio