Buenas tardes,
Escribo este hilo porque estoy chequeando mi sitio y he habilitado la compresion gzip pero hay un problema:
FUNCIONA: - Removed -
NO FUNCIONA: - Removed -
Este es mi archivo .htaccess:
Y este mi php.ini
Que puede ocurrir para que no me comprima la web hecha en PHP?
Escribo este hilo porque estoy chequeando mi sitio y he habilitado la compresion gzip pero hay un problema:
FUNCIONA: - Removed -
NO FUNCIONA: - Removed -
Este es mi archivo .htaccess:
Code:
RewriteEngine on
RewriteBase /
RewriteCond $1 !^(index\.php|assets|revslider|dist|sitemap\.xml|contacto\.php|google359cc7244751e9c3\.html|.well-known|sign\.html|sign_host\.html|sign\.png)
RewriteRule ^(.*)$ index.php/$1 [L]
# php -- BEGIN cPanel-generated handler, do not edit
# Configure el paquete “ea-php70” como el lenguaje de programación predeterminado “PHP”.
<IfModule mime_module>
AddType application/x-httpd-ea-php70 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php7_module>
php_flag display_errors Off
php_value max_execution_time 30
php_value max_input_time 60
php_value max_input_vars 1000
php_value memory_limit 256M
php_value post_max_size 20M
php_value session.gc_maxlifetime 1440
php_value session.save_path "/var/cpanel/php/sessions/ea-php70"
php_value upload_max_filesize 15M
php_flag zlib.output_compression On
php_value output_handler ob_gzhandler
</IfModule>
# END cPanel-generated php ini directives, do not edit
Code:
; cPanel-generated php ini directives, do not edit
; Manual editing of this file may result in unexpected behavior.
; To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
; For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
display_errors = Off
max_execution_time = 30
max_input_time = 60
max_input_vars = 1000
memory_limit = 256M
post_max_size = 20M
session.gc_maxlifetime = 1440
session.save_path = "/var/cpanel/php/sessions/ea-php70"
upload_max_filesize = 15M
zlib.output_compression = On
Last edited by a moderator: