Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: hlaporthein on May 12, 2020, 01:54:05 PM

Title: facebook and linkedin share link is 403
Post by: hlaporthein on May 12, 2020, 01:54:05 PM
Now, I am facing my website facebook and linkedin share link got 403. I checked my .htaccess and it hasn't make any block rule. So, I think the problems would be from CWP panel. Could anyone experiences before? How should I remove blocking facebook and linkedin 403 in CWP7 panel.  Please let me know if you know a way.
Title: Re: facebook and linkedin share link is 403
Post by: rcschaff on May 13, 2020, 05:24:56 AM
Please provide an example.  the 403 could be coming from facebook if the "Website" is not authorized via the FB API.
Title: Re: facebook and linkedin share link is 403
Post by: hlaporthein on May 13, 2020, 07:17:15 AM
Forgive me, Let me explain briefly, When I share my website link in facebook. It gives me 403.

For example,  if I share in facebook messenger or post in facebook. It shows me  403. So, I use facebook debug tool to cache clear using this https://developers.facebook.com/tools/debug/ (https://developers.facebook.com/tools/debug/). It is still showing me 403 and I contacted facebook support team and they told me to check on server that is blocking facebook.

So,
Here is what I did, I remove some rules from .htaccess
I am not sure what I need to remove on security_mod form server.


I hope anyone experienced like me. let me know how you solve. Thanks :)
Title: Re: facebook and linkedin share link is 403
Post by: rcschaff on May 13, 2020, 08:33:09 AM
If you don't mine, please share the url.  if Mod_security is the issue, you could get some insights from the mod_security debug/log.
/usr/local/apache/logs/modsec_audit.log
/usr/local/apache/logs/modsec_debug.log

Also post you .htaccess file with personal information ommitted
Title: Re: facebook and linkedin share link is 403
Post by: Sandeep on May 13, 2020, 12:01:58 PM
move to comodo waf and check.