Forum Moderators: coopster

Message Too Old, No Replies

php compression problem

         

pvd12

1:10 pm on Mar 16, 2004 (gmt 0)

10+ Year Member



im trying to use http compression on my site, i put this code in my htaccess <FilesMatch "\.(php¦html?)$">

php_value zlib.output_compression 4096

</FilesMatch>

and it seems to work for most of my pages, the problem is on my main page that has a cgi include the page is showing blank in ie

can this be fixed? i kindda need that cgi include there and i want to compress the php page

also im on virtual hosting so my admin dont want to install mod_gzip so php is the only way

[edited by: jatar_k at 4:57 pm (utc) on Mar. 16, 2004]
[edit reason] removed specific url [/edit]

timster

6:55 pm on Mar 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



<FilesMatch "\.(php¦cgi¦html?)$">

Is that what you need?

pvd12

10:29 pm on Mar 16, 2004 (gmt 0)

10+ Year Member



nope the compression doesnt work if you do that

pvd12

11:33 am on Mar 19, 2004 (gmt 0)

10+ Year Member



Warning: main(1): failed to open stream: No such file or directory in /home/httpd/vhosts/mydomain/httpdocs/index.php on line 2

Warning: main(): Failed opening '1' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/vhosts/mydomain/httpdocs/index.php on line 2

opera shows this error