homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

Zlib output compression
What needs to be changed in the conf file?

10+ Year Member

Msg#: 5494 posted 3:38 pm on Feb 3, 2006 (gmt 0)

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

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

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?




WebmasterWorld Senior Member jdmorgan us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 5494 posted 10:00 pm on Feb 3, 2006 (gmt 0)

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.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved