apache - FilterDeclare not allowed here -
i'm trying perform vanilla bonfire installation (as mentioned here) , keep getting 500 error.
however, when opened server logs i'm seeing error message :
[tue may 21 09:24:05 2013] [alert] [client 127.0.0.1] /users/drkameleon/sites/bft4u/.htaccess: filterdeclare not allowed here
obviously, culprit somewhere in following .htaccess
lines, though not know how fixed :
# ---------------------------------------------------------------------- # gzip compression # ---------------------------------------------------------------------- <ifmodule mod_deflate.c> # force deflate mangled headers developer.yahoo.com/blogs/ydn/posts/2010/12/pushing-beyond-gzipping/ <ifmodule mod_setenvif.c> <ifmodule mod_headers.c> setenvifnocase ^(accept-encodxng|x-cept-encoding|x{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[x~-]{4,13}$ have_accept-encoding requestheader append accept-encoding "gzip,deflate" env=have_accept-encoding </ifmodule> </ifmodule> # html, txt, css, javascript, json, xml, htc: <ifmodule filter_module> filterdeclare compress filterprovider compress deflate resp=content-type $text/html filterprovider compress deflate resp=content-type $text/css filterprovider compress deflate resp=content-type $text/plain filterprovider compress deflate resp=content-type $text/xml filterprovider compress deflate resp=content-type $text/x-component filterprovider compress deflate resp=content-type $application/javascript filterprovider compress deflate resp=content-type $application/json filterprovider compress deflate resp=content-type $application/xml filterprovider compress deflate resp=content-type $application/xhtml+xml filterprovider compress deflate resp=content-type $application/rss+xml filterprovider compress deflate resp=content-type $application/atom+xml filterprovider compress deflate resp=content-type $application/vnd.ms-fontobject filterprovider compress deflate resp=content-type $image/svg+xml filterprovider compress deflate resp=content-type $image/x-icon filterprovider compress deflate resp=content-type $application/x-font-ttf filterprovider compress deflate resp=content-type $font/opentype filterchain compress filterprotocol compress deflate change=yes;byteranges=no </ifmodule> <ifmodule !mod_filter.c> # legacy versions of apache addoutputfilterbytype deflate text/html text/plain text/css application/json addoutputfilterbytype deflate application/javascript addoutputfilterbytype deflate text/xml application/xml text/x-component addoutputfilterbytype deflate application/xhtml+xml application/rss+xml application/atom+xml addoutputfilterbytype deflate image/x-icon image/svg+xml application/vnd.ms-fontobject application/x-font-ttf font/opentype </ifmodule> </ifmodule>
so, ideas?
p.s.
i'm using xampp mac, , "server software" (in
phpinfo()
) showsapache/2.2.14 (unix) dav/2 mod_ssl/2.2.14 openssl/0.9.8l php/5.3.1 mod_perl/2.0.4 perl/v5.10.1
these guys here seem have encountered similar issue, though still don't how fixed it.
Comments
Post a Comment