HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/8.0.30
System: Linux multiplicar 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64
User: root (0)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: /var/www/html/cilaagricola.sumar.com.py/.htaccess
# BLOQUEO DE ARCHIVOS MALICIOSOS
<FilesMatch "\.(py|exe|phar|suspected)$">
    Require all denied
</FilesMatch>

# PERMITIR ARCHIVOS PRINCIPALES DE WORDPRESS
<FilesMatch "^(index\.php|wp-.*\.php)$">
    Require all granted
</FilesMatch>

# BLOQUEAR PHP EN CARPETAS DONDE NO DEBERÍA EJECUTARSE
# (uploads, includes)
<IfModule mod_rewrite.c>
    RewriteEngine On

    # Bloquea ejecución de PHP en /uploads y /includes
    RewriteRule ^wp-content/uploads/.*\.php$ - [F,L]
    RewriteRule ^wp-includes/.*\.php$ - [F,L]

    # Reglas estándar de WordPress
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
</IfModule>