Grazie a tutti ragazzi delle risposte.
Ci sono riuscito e mostro come in caso qualcuno ne abbia bisogno.
Codice PHP:
AddHandler application/x-httpd-php .css
AddHandler application/x-httpd-php .html
AddHandler application/x-httpd-php .js
AddHandler application/x-httpd-php .png
php_flag zlib.output_compression on
php_value zlib.output_compression_level 6
php_value auto_prepend_file "/percorso_assoluto/gzip.php"
php_flag short_open_tag off
mentre il file gzip.php e questo:
Codice PHP:
<?php
$path = pathinfo($_SERVER['SCRIPT_NAME']);
if ($path['extension'] == 'css'){
header('Content-type: text/css'); }
if ($path['extension'] == 'js') {
header('Content-type: application/x-javascript'); }
?>
Grazie e alla prossima!!!