【发布时间】:2013-01-22 13:48:00
【问题描述】:
抱歉,如果这是一个菜鸟问题,但我最近才知道通过在 magento 中启用 gzip 可以提高应用程序的速度。但是 magento 目录中的 .htaccess 文件似乎太多了。那么我必须在所有目录上启用还是仅在/var/www/html/magento/.htaccess 上启用?
/var/www/html/magento/.htaccess
/var/www/html/magento/.htaccess.sample
/var/www/html/magento/app/.htaccess
/var/www/html/magento/downloader/.htaccess
/var/www/html/magento/downloader/template/.htaccess
/var/www/html/magento/errors/.htaccess
/var/www/html/magento/includes/.htaccess
/var/www/html/magento/lib/.htaccess
/var/www/html/magento/media/.htaccess
/var/www/html/magento/media/customer/.htaccess
/var/www/html/magento/media/downloadable/.htaccess
/var/www/html/magento/pkginfo/.htaccess
/var/www/html/magento/var/.htaccess
【问题讨论】: