Control Web Panel
Security => Mod_Security => Topic started by: flamingw0rm on January 22, 2020, 02:15:04 PM
-
Before it was working but after installating Mod Security Crontab is not working.
Basically my website is disposable mail and the mails should be deleted every 30min.
my cron command starts with
wget /dev/null url <- url means my website delete mail url
i posted this question before but i saw that my account is delete so i recreated account and verified it.
i checked logs but not able to find the mod security cron id
i am using free centos webpanel 7
-
if you Uninstall Mod Security your cron work again?
-
yes if i remove mod security cron job is working. i want to keep mod security :'(
i want to know the log file of mod security to find out cron job id to whitelist.
Question is
Mod security blocking cron job?
or
Mod security blocking wget (my command)?
previously i was using VestaCP on Ubuntu 18.04 and my website was hacked many times. i searched for best free control panel and then switched to CentOS Web Panel.
I like this web panel because it has more features
-
You need to check the Apache's log for mod_security errors and add the required rule to the whitelist.
-
The issue was not with mod security. the issue was with Cloudflare. I previously changed the tls protocol to 1.3 and because of this wget was not working. i changed to tls 1.0 (default) and now crontab is working :)