Data at Your Fingertips: Explore Our New Reporting and Statistical Capabilities By Ryan Ashbrook Tuesday at 01:29 PM
nanotek Posted December 11, 2022 Share Posted December 11, 2022 Hi there We recently transferred our site to a new hosting provider to comply with PHP8 and are having some issues when posting content The 403 Forbidden error is happening specifically when trying to post content that converts a forum hyperlink into a preview. If we remove the preview and have just the hyperlink the content posts fine. I also tried to edit a post to have the preview and the forum says "This comment can no longer be edited. It may have been moved or deleted, or too much time may have passed since it was posted for it to be edited." I read some of the problems that others were having and tried mod_security which didn't seem to work. Link to comment Share on other sites More sharing options...
Marc Stridgen Posted December 12, 2022 Share Posted December 12, 2022 Have you checked with your hosting company to see what is causing your 403 there? Link to comment Share on other sites More sharing options...
nanotek Posted December 12, 2022 Author Share Posted December 12, 2022 2 hours ago, Marc Stridgen said: Have you checked with your hosting company to see what is causing your 403 there? Should I? I just upgraded to the latest version as well. The issue only occurs when trying to post that specific content, all other posts seem to work fine. Link to comment Share on other sites More sharing options...
Solution Marc Stridgen Posted December 12, 2022 Solution Share Posted December 12, 2022 You should, yes. A 403 message from the server is that the server is actively preventing you from performing an action. As you mention, mod_security is the most common, but there are others such as securi nanotek 1 Link to comment Share on other sites More sharing options...
nanotek Posted December 12, 2022 Author Share Posted December 12, 2022 Ok. I’ll ask the provider if there are any reasons why this would happen. Seems odd as have never encountered this before. Thanks again Link to comment Share on other sites More sharing options...
Marc Stridgen Posted December 12, 2022 Share Posted December 12, 2022 51 minutes ago, nanotek said: Ok. I’ll ask the provider if there are any reasons why this would happen. Seems odd as have never encountered this before. Thanks again You wont have experienced it before if you are on a new host Link to comment Share on other sites More sharing options...
nanotek Posted December 13, 2022 Author Share Posted December 13, 2022 Thanks for your help, the provider managed to sort it out for us Link to comment Share on other sites More sharing options...
Gary Posted December 13, 2022 Share Posted December 13, 2022 Hi @nanotek, Thanks for following up and letting us know you have had this issue sorted. Please don't hesitate to get in touch with us if the error pops up again, or if you encounter any other errors with your community. Link to comment Share on other sites More sharing options...
nanotek Posted December 21, 2022 Author Share Posted December 21, 2022 So it has happened for a few people and the only way I can fix it is by disabling mod_security altogether which doesn’t seem to be recommended. Is it OK from an Invision Community perspective? We have it installed to a subdomain and disabled it at that level. The forum is the only thing installed at that subdomain. Or should we be using the whitelist approach? If so, what are the main things that need to be whitelisted? Link to comment Share on other sites More sharing options...
Marc Stridgen Posted December 21, 2022 Share Posted December 21, 2022 As we arent your hosting provider, its not really a question we can answer. We can only say that mod_security is blocking some things incorrectly. Whether or not you have to have it enabled is something for you to discuss with your hosting company Link to comment Share on other sites More sharing options...
Recommended Posts