Wampserver (windows/apche/mysql/php) Integrated environment
Online Status: Can be accessed within the area network
Offline Status: Local devices can access
From the proposed Web site root directory:
Apache--httpd.conf--Search #documentroot #<directory
Note: httpd.conf points to ' D:\wamp\bin\apache\apache2.4.9\conf\httpd.conf '
Modify Wamp Default file path
Wamp--Wampmanager.ini--Search Menu.left--www directory--Modify
--WAMPMANAGER.TPL--Search Menu.left--${w_wwwdirectory}--Modify
Multi-site Configuration:
1. Find extension Files
Wamp--bin--Apache--apache2.4.9--conf--extra--httpd-vhosts.conf--Copy <virtualhost *:80>......</virtua Lhost>
ServerAdmin Setting the administrator email address
DocumentRoot URL Project Root Path
ServerName host name/domain name
Errorlog error Log
Customlog Daily Diary
--Modify Configuration
2. Configure Apache
Apache--httpd.conf--Search httpd-vhost Find #Include conf/extra/httpd-vhosts.conf--Remove the "#" from the front, i.e. remove the comment
3. Modify allow other address access
Apache--httpd.conf--Find the URL root that you defined earlier--change ' Deny from all ' (block external access) to ' Allow from all ', add ' # ' before ' Allow from 127.0.0.1 '
4. Modify the Computer Configuration
C--Windows--System32--drivers--etc--hosts--add site
Self-drawn port number:
Apache--httpd.conf--Search 80, add ' Listen 8080 ' after ' Listen 12.34.56.78:80 ' and change ' #ServerName localhost:80 ' to ' #ServerName localhost:8080 '
Wampserver (Windows, Apache, MySQL, PHP)