Home > php教程 > php手册 > Solve the problem that wampserver3.0.4 cannot be accessed remotely

Solve the problem that wampserver3.0.4 cannot be accessed remotely

WBOY
Release: 2016-08-08 08:49:52
Original
1259 people have browsed it

Install the wampserver3.0.4 integrated environment on the Windows 2008 server. By default, remote access is not possible. If you want remote access, you need to modify the apache configuration file httpd.conf as follows:

#
# Possible values ​​for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* - -- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core .html#options
# for more information.
#
Options -Indexs +FollowSymLinks

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride all
Require all granted
#
# Controls who can get stuff from this server.
#

# onlineoffline tag - don't remove
Require local

Description:

Options -Indexs +FollowSymLinks Change '+Indexs' to '-Indexs' which means access to the file directory is not allowed;

Require all granted This line was added later, and it can be accessed remotely.

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template