Exclude a file in a filematch

Posted by lund.mikkel on Stack Overflow See other posts from Stack Overflow or by lund.mikkel
Published on 2010-05-02T21:42:58Z Indexed on 2010/05/02 21:47 UTC
Read the original article Hit count: 291

Filed under:
|
|

Hey folks

I'm trying to prepend a gzip script at the beginning of every file using

php_value  auto_prepend_file  gzip_start.php

in my .htaccess. The problem is that I've already got a document called combine.php that gzips it contents. What I need to know is, how I can exclude combine.php from the files who get the gzip prepended. I thought about using filesmatch, but can only figure out how to do it on just that one file, and not the exact opposite.

Any ideas?

© Stack Overflow or respective owner

Related posts about prepend

Related posts about gzip