modsecurity phpmyadmin error
- saviorhost
- Posts: 33
- Joined: Sun 11. Jan 2026, 13:51
- Location: Turkiye
- Contact:
modsecurity phpmyadmin error
Forbidden
You don't have permission to access this resource.
Re: modsecurity phpmyadmin error
Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
- saviorhost
- Posts: 33
- Joined: Sun 11. Jan 2026, 13:51
- Location: Turkiye
- Contact:
Re: modsecurity phpmyadmin error
Wouldn't server security be a problem? Many different websites are hosted there.
- saviorhost
- Posts: 33
- Joined: Sun 11. Jan 2026, 13:51
- Location: Turkiye
- Contact:
Re: modsecurity phpmyadmin error
In fact nobody uses ModSecurity and everybody is fine.
Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
- saviorhost
- Posts: 33
- Joined: Sun 11. Jan 2026, 13:51
- Location: Turkiye
- Contact:
Re: modsecurity phpmyadmin error
I'm a hosting company. Even now, I host hundreds of websites. That's why I need to provide protection.
Re: modsecurity phpmyadmin error
In this respect, @Tobi's advice is correct - in such an environment, mod_security cannot be used effectively without encountering various minor and major problems
If it prevents SQL files from being uploaded to PHPMyAdmin, it ultimately does exactly what it's intended to do. If you don't want that, you have to define an appropriate exception. But as I said: especially with customers it's practically impossible, they just see something that doesn't work.
- Jolinar
- Community Moderator
- Posts: 4285
- Joined: Sat 30. Jan 2016, 07:11
- Location: Weimar (Thüringen)
- Contact:
Re: modsecurity phpmyadmin error
The issue could be fixed by targeted whitelisting instead of full disablement.
Check ModSecurity logs for the blocking rule ID, then whitelist it or the /phpMyAdmin/ path in the config (/etc/modsecurity.d/). This should preserves overall security.
Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
- In dieser Farbe schreibe ich als Moderator und gebe moderative Hinweise oder begründe moderative Eingriffe /
In this color, I write as a moderator and provide moderative guidance or justify moderative interventions - In dieser Farbe schreibe ich als Community Mitglied und teile meine private Meinung und persönlichen Ansichten mit /
In this color, I write as a community member and share my personal opinions and views
Re: modsecurity phpmyadmin error
Do you use KeyHelp Pro?
Putting customers in jailroot is probably the best security you can get.
Tobi
-----------------------------
wewoco.de
Das Forum für Reseller, Digital-Agenturen, Bildschirmarbeiter und Mäuseschubser
- saviorhost
- Posts: 33
- Joined: Sun 11. Jan 2026, 13:51
- Location: Turkiye
- Contact:
Re: modsecurity phpmyadmin error
Yes, I use KeyHelp Pro. How exactly do I install jailroot? Is there an article or topic about it?
Re: modsecurity phpmyadmin error
- "User Administration -> Add or edit a client -> Permissions -> Enable SSH + Restricted SSH environment"
Further configuration can be done here:
- "Configuration -> Restricted SSH Environment"
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
- saviorhost
- Posts: 33
- Joined: Sun 11. Jan 2026, 13:51
- Location: Turkiye
- Contact:
Re: modsecurity phpmyadmin error
Dear Aleksander;
Yes, I saw that. What do I need to write there? Is there any document related to it?
Re: modsecurity phpmyadmin error
Where exactly?
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
- saviorhost
- Posts: 33
- Joined: Sun 11. Jan 2026, 13:51
- Location: Turkiye
- Contact:
Re: modsecurity phpmyadmin error
Configuration -> Restricted SSH Environment