Wampserver2.5 lan ip address access configuration, wampserver2.5ip
The installation and use of the wampserver2.5 integrated environment are not much to mention. There are many teaching materials on the Internet. After installation, find the apache configuration file httpd. conf. The default location is \ wamp \ bin \ apache \ apache2.4.9 \ conf \ httpd. conf.
-
Found at row 278 (full-text search is also supported)
# Onlineoffline tag-don't remove
Require local
Modify the settings as follows:
# Onlineoffline tag-don't remove
# Require local
# Deny from all
Require all granted
Order Deny, Allow
Allow from 127.0.0.1
Allow from 192.168.1 .*
Explanation: Use # To comment out the local request of the original configuration, add Require all granted (allow external access), and comment out Deny form all (prohibit access) in some configuration files, no. Allow from 127.0.0.1 (local access is allowed. For Windows, the IP address of the local host is 127.0.0.1, which can be viewed in the host file ). Allow from 192.168.1. * (LAN access is allowed. Generally, the default LAN gateway is 192.168.1. *, depending on the local router configuration. You can also set
Allow from 127.0.0.1
Allow from 192.168.1 .*
Change
Allow from all
(Allow all access ).
I am not good at English. The content in the brackets is only for explanation, not for noun translation.
- 3
After the configuration is complete, restart wampserver to use it. A lan computer can be accessed through a server IP address. If it is configured on a work computer, we recommend that you set the IP address of the local computer to a fixed IP address to prevent dynamic changes in the IP address from causing normal operation.