One Apache 403 error troubleshooting

Source: Internet
Author: User

Customer's ZHCP panel is broken, manually created Apache configuration for him

However, after the configuration is complete, there is no access, prompting 403 error.


    1. Manually edited the Phpinfo file, but still prompts 403


2.vim-o xxx.conf common.conf

Compare normal profiles and find nothing wrong with it


3. Suspect the configuration file is not read successfully, manually add additional include/path/to/file in httpd.conf, reboot Apache to find the problem still


4. Check the log, found that there is log generation, the configuration file has been read, suspect is still a configuration problem


5. Delete the log, restart Apache, discover that the log has a new build, view the error log and refresh the page, prompting:

Client denied by server configuration

Look inside the configuration file.

<Directory/www/web/test.com>

Options FollowSymLinks

AllowOverride All

Order Allow,deny

Allow from all

</Directory>

Found directory configuration error, modified to correct directory, restart, problem solving


6. The test file can be opened, but the site will not open, check the configuration file other directory configuration, found that the phpadmin path is also misconfigured, modified to the correct path, problem solving.

This article is from the "single Season rice" blog, please be sure to keep this source http://linzb.blog.51cto.com/5192423/1736836

One Apache 403 error troubleshooting

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.