# ¿Cómo activar o desactivar ModSecurity en cPanel?

Si encontrás que tu página web muestra un error **403**, **405**, **406** es muy probable que algún elemento de tu sitio esté siendo bloqueado por una regla de **ModSecurity**.

**ModSecurity** es un firewall de aplicaciones. Lo que hace es bloquear ciertas peticiones o ejecuciones de código que considera peligrosas. Podrás configurar ModSecurity para que permita o bloquee ciertas ejecuciones, según lo requiera tu sitio web.

En el panel de control **cPanel**, podrás acceder a la configuración de ModSecurity siguiendo estos pasos:

1. En el panel de control cPanel, ingresá a la opción **Seguirdad=>ModSecurity**.

<figure><img src="/files/ooTBLgy2FNAKQWdWRNGu" alt=""><figcaption></figcaption></figure>

2. En la nueva pantalla verás tu dominio principal y sus subdominios. Podrás activar y desactivar ModSecurity en cada uno con los botones de la derecha.

<figure><img src="/files/ahJQkUNOn37TcRD1hBfm" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ayuda.sitioshispanos.com/menu-principal/guias/paneles-de-control/panel-de-control-cpanel/opciones-avanzadas-cpanel/como-activar-o-desactivar-modsecurity-en-cpanel.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
