About the Apache 2.4.X later version of the virtual host configuration issues

Source: Internet
Author: User
Tags apache error log

After reloading the system, habitually downloaded the latest wamp2.5, and then all the normal reply to various configuration, database, code.

And then open the browser, a good night, and yesterday also use the virtual domain name, incredibly 403.


The information in Apache error log is: Ah01630:client denied by server configuration


Toss together, eventually definitely out on the vhost configuration file, finally found a solution

2.4 Later versions, use

Require all granted
Instead of

Order allow, denyallow from all

Restart Apache, solve the problem

Complete Configuration Code

<directory "C:/xxx/xxx" >    Options Indexes followsymlinks    allowoverride all    Require all granted</ Directory><virtualhost *:80>    documentroot "c:/xxx/xxx"    ServerName www.xxx.com</VirtualHost >

Hope to be helpful to those who meet this problem!

About the Apache 2.4.X later version of the virtual host configuration issues

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.