.htaccess problems (syntax error's)

I have recently workied on a site where someone hired someone to work on said site and called themselves good. They crashed the site..

The first changes I seen where '[edit] (hyphens) were in it i.e. (.htaccess)

BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
        # Don't compress images/archives/music/video/etc
        SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip don't-vary
        SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip don't-vary
        SetEnvIfNoCase Request_URI \.(?:avi|mov|mp3|mp4|rm|flv|swf|mp?g)$ no-gzip don't-vary

Once those were changed from

SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip don't-vary

to

SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary

The site worked again.

Hope this helps some members..

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 14 Sep 2012

Are you saying there were commas ( ' ) or hypens ( - ) in it?

Quote · 15 Sep 2012

 

Are you saying there were commas ( ' ) or hypens ( - ) in it?

 sorry.. lmao commas [edit] (') thanks for pointing that out

very long day; and still is. Money Mouth

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 15 Sep 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.