Wampserver2.5 lan ip address access configuration, wampserver2.5ip

Source: Internet
Author: User

Wampserver2.5 lan ip address access configuration, wampserver2.5ip

  1. 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.

  2.  

    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. 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.