A few days ago, a customer of Jise needed to install the phpWind forum on the HawkHost US space. He could fill in the corresponding information in the database and a "403 Forbidden" appeared during the installation, as shown in the figure below.
Yesterday, PHPWind v8.0 community software was officially released. Jie Se also wanted to try it out, so he spent time studying this 403 Forbidden problem and finally solved the problem as he wished!
It is absolutely no problem for HawkHost, an American space, to install a series of Discuz products, but PHPWind cannot. When I installed the PHPWind forum on JustHost, everything was normal. Then I thought that it might be the same as when I installed the Discuz forum on JustHost's US space, and a 406 Not Acceptable error occurred.
Reasons for the 403 Forbidden error in the HawkHost space:
MOD, whose full name is Mod security, is installed on the shared server. When the URL contains other sensitive characters such as "%", it will be blocked by Mod security.
Here is how to solve the HawkHost 403 Forbidden error:
Add the following code in the .htaccess file
SecFilterEngineOff
SecFilterScanPOST Off
If you do not know how to add it, please click to download: http://www.ilovehost.com/down/htaccess.zip
After downloading, transfer it directly to the root directory of the website. Try installing it now, it will definitely be OK! [For example, if the program directory of sharetaobao.com is in public_html/taobao, put the .htaccess file in the taobao folder]
Please indicate the source of the article when reprinting: American Host Evaluation Network http://www.ilovehost.com/?p=991
Thank you Jise for your contribution