RewriteEngine on
#$Id: root.htaccess 17348 2008-12-23 05:53:22Z flaboy $



AddEncoding gzip .jgz

AddType "text/javascript;charset=UTF-8" .jgz



AddEncoding gzip .zcss

AddType "text/css;charset=UTF-8" .zcss



<IfModule mod_rewrite.c>



# RewriteBaseֵΪ̵Ŀ¼ַ

RewriteBase /

RewriteRule ^themes/.*\.(html|xml)$ / [F]

RewriteCond %{REQUEST_FILENAME} \.(html|xml|json|htm|php|php2|php3|php4|php5|phtml|pwml|inc|asp|aspx|ascx|jsp|cfm|cfc|pl|cgi|shtml|shtm|phtm)$

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ index.php?$1 [L]

</IfModule>



<IfModule mod_security.c>

SecFilterEngine Off

SecFilterScanPOST Off

</IfModule>RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://bbs.ilzp.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://bbs.ilzp.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://club.zangao.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://club.zangao.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://fugao.org.cn/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://fugao.org.cn$      [NC]
RewriteCond %{HTTP_REFERER} !^http://gmgs.org.cn/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://gmgs.org.cn$      [NC]
RewriteCond %{HTTP_REFERER} !^http://ilzp.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://ilzp.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://my.ilzp.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://my.ilzp.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://oldphoto.ilzp.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://oldphoto.ilzp.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://tibetbod.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://tibetbod.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://wiki.ilzp.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://wiki.ilzp.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.fugao.org.cn/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.fugao.org.cn$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.gmgs.org.cn/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.gmgs.org.cn$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.ilzp.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.ilzp.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.tibetbod.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.tibetbod.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.xizangzhi.org/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.xizangzhi.org$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.zangao.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.zangao.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.zangdao.net/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.zangdao.net$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.zangpu.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.zangpu.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://xizangzhi.org/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://xizangzhi.org$      [NC]
RewriteCond %{HTTP_REFERER} !^http://zangao.us/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://zangao.us$      [NC]
RewriteCond %{HTTP_REFERER} !^http://zangdao.net/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://zangdao.net$      [NC]
RewriteCond %{HTTP_REFERER} !^http://zangpu.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://zangpu.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://biji.tibetbod.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://biji.tibetbod.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.xizangzhi.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.xizangzhi.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://xizangzhi.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://xizangzhi.com$      [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

