A 403 Forbidden error was encountered while trying to use an errordocument to handle the request

Source: Internet
Author: User
Tags 403 forbidden error

When apache was configured to connect to JBoss this evening, it was found that Apache's static files could be accessed, but dynamic files could not be accessed. I checked it online. Most of them are in the httpd. conf file.
<Directory/>
Options followsymlinks includes
AllowOverride none
# Order allow, deny
# Allow from all
</Directory>
The following two lines are commented, as shown above, but I tried it and it still didn't work. I couldn't help it. I consulted the director of our company. After a thorough investigation, I found that my Apache proxy module was not opened,
Loadmodule proxy_module modules/mod_proxy.so
Loadmodule proxy_ajp_module modules/mod_proxy_ajp.so
Find the above two lines in the httpd. conf fileCodeRemove the comment.
I am very grateful to my development director. He is a very conscientious person and has become an indispensable pillar of the company in his early 30 s. I would like to learn from him and pay tribute to him!

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.