Apache: Solution of Youdon 'thavepermissiontoaccess/onthisserver
Source: Internet
Author: User
Today, the original code is run on the new linux and operated in the VM mode. Several related websites are put in a file. The idea is to perform operations on the corresponding website through the directories listed on the website. After all the settings are complete, run in the browser and appear in Youdon & amp; #39; thave... today, the original code is run on the new linux and operated in the VM mode. Several related websites are put in a file. The idea is to perform operations on the corresponding website through the directories listed on the website. After all the settings are complete, the prompt "You don't have permission to access/on this server" appears in the browser. Check the apache manual to find the problem. The default access permission to the website root is defined here.
01
# Each directory to which Apache has access can be configured with respect
02
# To which services and features are allowed and/or disabled in that
03
# Directory (and its subdirectories ).
04
#
05
# First, we configure the "default" to be a very restrictive set
06
# Features.
07
#
08
09
Options FollowSymLinks
10
AllowOverride None
11
Order deny, allow
12
Deny from all
13
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