This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
196
Mod_Security / Re: ModSecurity adds index.php in permalinks
« on: August 10, 2018, 05:41:58 AM »
Between you can delete /usr/local/apache/conf.d/modsec2.conf. Its of no use
Code: [Select]
rm -rf /usr/local/apache/conf.d/modsec2.conf
197
Mod_Security / Re: ModSecurity adds index.php in permalinks
« on: August 10, 2018, 05:32:22 AM »
In your case its loading from file /usr/local/apache/conf.d/modsec2.conf
You need to run
You need to run
Code: [Select]
sed -i '/SecServerSignature/d' /usr/local/apache/conf.d/modsec2.conf
service httpd restart
198
Mod_Security / Re: ModSecurity adds index.php in permalinks
« on: August 10, 2018, 05:24:39 AM »199
Mod_Security / Re: ModSecurity adds index.php in permalinks
« on: August 10, 2018, 05:17:59 AM »200
Mod_Security / Re: ModSecurity adds index.php in permalinks
« on: August 10, 2018, 05:01:58 AM »
The issue is caused because of SecServerSignature in /usr/local/apache/conf.d/mod_security.conf
You can manually goto /usr/local/apache/conf.d/mod_security.conf and remove it
Find
remove the above line and then restart apache
Or else you can run
You can manually goto /usr/local/apache/conf.d/mod_security.conf and remove it
Code: [Select]
nano /usr/local/apache/conf.d/mod_security.conf
Find
Code: [Select]
SecServerSignature "CentOS WebPanel: Protected by Mod Security"
remove the above line and then restart apache
Code: [Select]
service httpd restart
Or else you can run
Code: [Select]
sed -i 's|.*SecServerSignature.*||g' /usr/local/apache/conf.d/mod_security.conf
service httpd restart
201
Mod_Security / Re: ModSecurity adds index.php in permalinks
« on: August 10, 2018, 04:56:19 AM »
Its solved.
202
Mod_Security / Re: ModSecurity adds index.php in permalinks
« on: August 10, 2018, 04:42:55 AM »203
Mod_Security / Re: ModSecurity adds index.php in permalinks
« on: August 10, 2018, 04:21:06 AM »204
Mod_Security / Re: ModSecurity adds index.php in permalinks
« on: August 10, 2018, 04:10:23 AM »
Goto you public_html folder and type
rm -rf .htaccess
Then open wordpress admin goto permalink and choose one and save it. See if its working then
rm -rf .htaccess
Then open wordpress admin goto permalink and choose one and save it. See if its working then
205
Mod_Security / Re: ModSecurity adds index.php in permalinks
« on: August 10, 2018, 04:06:03 AM »206
Mod_Security / Re: ModSecurity adds index.php in permalinks
« on: August 10, 2018, 04:00:12 AM »
When I provided above solution didnt fix your .htaccess permalink issue?
It it still not creating automatically in your htaccess file?
It it still not creating automatically in your htaccess file?
207
Mod_Security / Re: ModSecurity adds index.php in permalinks
« on: August 10, 2018, 03:49:46 AM »208
Mod_Security / Re: ModSecurity adds index.php in permalinks
« on: August 10, 2018, 02:44:30 AM »
Running below commands will fix your issue
Code: [Select]
sed -i 's|.*SecServerSignature "CentOS WebPanel: Protected by Mod Security".*||g' /usr/local/apache/conf.d/mod_security.conf
service httpd restart
209
CentOS-WebPanel Bugs / Re: login page appear as "502 Bad Gateway"
« on: August 09, 2018, 05:05:49 AM »210
CentOS-WebPanel Bugs / Re: [BUG] 2times DKIM Signing
« on: August 09, 2018, 03:56:27 AM »
Workaround
Edit master.cf
Find
Above add
Image for verification
Now email will be signed only once with DKIM
Edit master.cf
Code: [Select]
nano /etc/postfix/master.cf
Find
Code: [Select]
-o smtpd_helo_restrictions=
Above add
Code: [Select]
-o smtpd_milters=
Image for verification
Now email will be signed only once with DKIM
Quote
Aug 8 23:49:35 server1 postfix/smtpd[23370]: connect from localhost[127.0.0.1]
Aug 8 23:49:35 server1 postfix/smtpd[23370]: C3301E07C4: client=localhost[127.0.0.1], sasl_method=LOGIN, sasl_username=email@yourdomain.com
Aug 8 23:49:35 server1 postfix/cleanup[23432]: C3301E07C4: message-id=<4f57aba6ac3dd13fe06212f4aa204ebb@bullten.network>
Aug 8 23:49:35 server1 opendkim[21907]: C3301E07C4: DKIM-Signature field added (s=default, d=bullten.network)
Aug 8 23:49:35 server1 postfix/qmgr[23356]: C3301E07C4: from=<email@yourdomain.com>, size=589, nrcpt=1 (queue active)
Aug 8 23:49:35 server1 postfix/smtpd[23370]: disconnect from localhost[127.0.0.1]
Aug 8 23:49:36 server1 postfix/smtpd[23440]: connect from unknown[127.0.0.1]
Aug 8 23:49:36 server1 postfix/smtpd[23440]: 620A6E07CC: client=unknown[127.0.0.1]
Aug 8 23:49:36 server1 postfix/cleanup[23432]: 620A6E07CC: message-id=<4f57aba6ac3dd13fe06212f4aa204ebb@bullten.network>
Aug 8 23:49:36 server1 postfix/qmgr[23356]: 620A6E07CC: from=<email@yourdomain.com>, size=1408, nrcpt=1 (queue active)
Aug 8 23:49:36 server1 postfix/smtpd[23440]: disconnect from unknown[127.0.0.1]
Aug 8 23:49:36 server1 amavis[21743]: (21743-04) Passed CLEAN {RelayedOutbound}, MYNETS LOCAL [127.0.0.1]:58264 <email@yourdomain.com> -> <test@gmail.com>, Message-ID: <4f57aba6ac3dd13fe06212f4aa204ebb@bullten.network>, mail_id: HhvnMyNkBtLg, Hits: -1.099, size: 913, queued_as: 620A6E07CC, dkim_sd=default:bullten.network, 470 ms
Aug 8 23:49:36 server1 postfix/smtp[23434]: C3301E07C4: to=<test@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.64, delays=0.11/0.05/0/0.47, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 620A6E07CC)
Aug 8 23:49:36 server1 postfix/qmgr[23356]: C3301E07C4: removed
Aug 8 23:49:36 server1 postfix/smtp[23441]: 620A6E07CC: to=<test@gmail.com>, relay=gmail-smtp-in.l.google.com[172.217.197.26]:25, delay=0.44, delays=0.01/0.05/0.27/0.11, dsn=2.0.0, status=sent (250 2.0.0 OK 1533786576 42-v6si5553573qvk.145 - gsmtp)
Aug 8 23:49:36 server1 postfix/qmgr[23356]: 620A6E07CC: removed