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.
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