Apache Server 403 Error Forbidden Access workaround

Source: Internet
Author: User

Open Web page, result access hint: 403 Error! Turn off IE's "show friendly HTTP Error" and show no access (you don't have permission to access/on this server)!

Apache, version 2.2.8, after the installation completes, carries on the related test, configures the next php php.in file, again the localhost opens discovers the error: HTTP Error 403-forbidden, namely 403 forbidden:you don ' t have Permission to access/on the this server.

May be an issue caused by insufficient permissions.

Workaround:

Open the Apache configuration file httpd.conf, and check it line by row. Found it:

Copy CodeThe code is as follows: <directory/> Options followsymlinks allowoverride None Order deny,allow deny from all </Directory>

Since PHP is configured, "Deny from all" here denies all connections.

You can resolve the issue by modifying this line to allow from all.

The modified code is:

Copy CodeThe code is as follows: <directory/> Options followsymlinks allowoverride None Order deny,allow allow from all </Directory>

Open http://localhost in Browser, show it works! Problem solving.

Summarize:

Apache Server 403 Error Forbidden Access workaround

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.