Forum Moderators: phranque

Message Too Old, No Replies

Zlib output compression

What needs to be changed in the conf file?

         

referer

3:38 pm on Feb 3, 2006 (gmt 0)

10+ Year Member




I've added the following information in my .htaccess file

<FilesMatch "\.(php¦html?¦js¦css)$">
php_value zlib.output_compression 2048
</FilesMatch>

But I get 'Internal Server Error' when I try to access any webpage.

I told the administrator, and he said that he didn't know what to change in the conf file. But he could fix it if I tell him. It seems as if the current settings doesn't allow php_value to be set in the htaccess file.

Could anyone please tell me what needs to be changed for this to work?

Thanks!

jdMorgan

10:00 pm on Feb 3, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It might be helpful to check and post the contents of your server error log file when you get this error. It will often tell you specifically what the problem is.

It is likely that php config directives need to be done at the server config level, not in .htaccess.

If this doesn't help (I'm not a php guru by any means), and if you don't get a more useful reply from someone else, you may want to try over in our php forum.

Jim