-
- # Virtual hosts starts the virtual host configuration
- Include conf/extra/httpd-vhosts.conf
- ServerAdmin kongdaoxian@gmail.com
- DocumentRoot "E:/skydao/apache2/htdocs /zendTest/public"
- ServerName zendTest.com
- ServerAlias www.zendTest.com
- DirectoryIndex index.php
-
- Options FollowSymLinks
- AllowOverride None
- Order allow, deny
- Allow from all
-
Copy the code
Add dns to the hosts file
-
- 127.0.0.1 zendTest
- 127.0.0.1 www.zendTest.com
-
Copy the code
4, restart Apache
|