A apache+php+mysql server was built. How do I publish a website through Apache so that other computers can access it over the LAN?

Source: Internet
Author: User

Source Address:

1. The Code of the website is placed under the folder "www";

2. Configure Apache to allow others to access the site: The httpd.conf file in Wamp/apache/apache version/conf is modified as follows:

Options Indexes FollowSymLinks

#
# AllowOverride Controls What directives is placed in. htaccess files.
# It can be ' all ', ' None ', or any combination of the keywords:
# Options FileInfo authconfig Limit
#
AllowOverride All

#
# Controls who can get stuff from the this server.
#
# onlineoffline Tag-don ' t remove
Order Deny,allow
Deny from all
#Allow from 127.0.0.1 This allows only native access URLs, modified to the following code, allowing anyone to access the computer
Allow from all

</Directory>

A apache+php+mysql server was built. How do I publish a website through Apache so that other computers can access it over the LAN?

Related Article

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.