Gzip on, now Install Plugin prompts for a save….
-
After turning on gzip and cache, when I try to install/uninstall plugins I get prompted to save the .php file!
I am currently using this gzip methond:
gzip.php contains:
<?php if(isset($_SERVER['HTTP_ACCEPT_ENCODING']) && substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start('ob_gzhandler'); else ob_start(); ?>
and my .htaccess
<FilesMatch "\.js$"> AddHandler application/x-httpd-php .js php_value default_mimetype "text/javascript" </FilesMatch> <FilesMatch "\.css$"> AddHandler application/x-httpd-php .css php_value default_mimetype "text/css" </FilesMatch> <FilesMatch "\.(htm|html|shtml)$"> AddHandler application/x-httpd-php .html php_value default_mimetype "text/html" </FilesMatch> php_value auto_prepend_file my/absolute/path/gzip.php
Any ideas why this is happening ?
- The topic ‘Gzip on, now Install Plugin prompts for a save….’ is closed to new replies.