verdrm Posted July 12, 2009 Share Posted July 12, 2009 Hi, I have been able to get gzip compression working on most of my pages, however my site has a profile system which uses mod_rewrite to allow users to pick their own profile names. Ex: www.myurl.com/john -- > rewrites to www.myurl.com/page.php?id=john The issue is when I use gzip compression on that one page it always redirects back to the homepage. Online gzip compression tools show that the page has gzip compression, but the user is redirected. I've tried different gzip codes and I put my code at the top of the page, and it doesn't appear that my hosting provider has gzip compression module installed so I can't do this through .htaccess Any suggestions? Does this have anything to do with mod_rewrite? Link to comment https://forums.phpfreaks.com/topic/165728-gzip-compression-issue/ Share on other sites More sharing options...
Daniel0 Posted July 12, 2009 Share Posted July 12, 2009 I'm not sure I entirely understand your problem. However, if your host doesn't support gzip compression via Apache (or they refuse to enable it) you can try to use ob_gzhandler. Link to comment https://forums.phpfreaks.com/topic/165728-gzip-compression-issue/#findComment-874254 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.