Wamp2.5 (Apache2.4.9) extranet access 403 (Forbidden) error

Source: Internet
Author: User

Tag: Owner does not have OCA directory one color org amp important

Wamp configuration to Azure, Daoteng for a long time did not solve the 403 error problem, online Baidu a lot of information, almost all of these changes:

1, found in the c:wamp/bin/apache/apache2.4.9/conf directory "httpd.conf" file (recommended to back up first)

2, will "httpd.conf" under the 240 line:

<directory/>

AllowOverride All
Optionsnone
Orderallow,deny
Deny from all
</Directory>

Change it to

<directory "C:/wamp/apache2/cgi-bin" >

AllowOverride All
Optionsnone
Orderallow,deny
Allow from all
</Directory>

In a later version, however, there are still 403 errors in this modification, which can be attributed to two points:

1, 2.5 After the release of some new commands;

2, it is no use to configure this place alone.

Then continue to query the information, and then after many attempts to find that this change can solve the problem:

Change "httpd.conf" below 240 lines to:

</>     allowoverride none    Require all granted
</Directory>

Change about 254 lines under "httpd.conf" to:

<Directory"c:/wamp/www/"># # Possible values for the Options directive is ' None ', ' All ', # or any combination of: # Indexes INC Ludes 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 Indexes followsymlinks # # AllowOverride Controls What directives is placed in. htaccess files. # It can be ' all ', ' None ', or any combination of the keywords: # allowoverride FileInfo authconfig Limit # All    Owoverride All # # Controls who can get stuff from the this server. # # Onlineoffline Tag-don ' t remove Require local Require all granted </Directory>

Then save and exit and restart Wamp.

Wamp2.5 (Apache2.4.9) extranet access 403 (Forbidden) error

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.