This article refers to http://www.dreamdu.com/webbuild/(a post on website building and production tutorials)
Using and configuring Apache
After installing Apache, we can find the Htdocs folder in the Apache installation directory, this folder is the path of the default Web site, students can save the page file in this folder, modify the view.
Or you can create a new virtual directory:
Using notepad++ (or Notepad) to open the D:/apache/conf/httpd.conf file, add a piece of code at the end
#http://www.dreamdu.com
Listen 8088
<virtualhost *:8088>
DocumentRoot "/applications/xampp/xamppfiles/htdocs/hale/"
</VirtualHost>
The above code is to add a point to the/applications/xampp/xamppfiles/htdocs/hale/of the virtual host, and we use 8088 port, this port can be arbitrarily specified, but do not repeat with other programs, can not use 80 port, Because IIS uses port 80. Save the file. Restart Apache.
Place your files or Web pages in the/applications/xampp/xamppfiles/htdocs/hale/directory.
Enter the URL in the browser http://localhost:8088/
Apache Build Virtual Host