RewriteEngine על
<ifmodule mod_headers.c>
<ifmodule mod_deflate.c>
# דחיסת כמה סוגי קבצים טקסט
AddOutputFilterByType DEFLATE text / html text / css טקסט / xml application / x-javascript
# בטל דחיסה עבור דפדפני מרכבה
BrowserMatch ^ Mozilla / 4 gzip-only-text/html
BrowserMatch ^ Mozilla / 4 \\ 0.0 [678] no-gzip
BrowserMatch \\ bMSIE! ללא gzip! Gzip-only-text/html
</ Ifmodule>
</ Ifmodule>
<IfModule Mod_rewrite.c>
# RewriteBase / בלוג /
# RewriteCond% REQUEST_FILENAME} {!-F
#% RewriteCond} {REQUEST_FILENAME!-D
# RewriteRule. / בלוג / index.php [L]
</ IfModule>
RewriteCond% REQUEST_FILENAME} {!-F
% RewriteCond} {REQUEST_FILENAME!-D
RewriteRule. / בלוג / [יב]
<Files 403.shtml>
כדי לאפשר, להכחיש
לשלול מן 93.143.29.205
לשלול מן 93.142.182.66
לשלול מן 93.142.162.176
לאפשר מכל
</ Files>
לשלול מן 83.233.30.35
% RewriteCond {HTTP_HOST} ^ thecodecage.co.uk $ [או]
% RewriteCond {HTTP_HOST} ^ www.thecodecage.co.uk $
RewriteRule ^ .* $ "http \\:.. \\ \\ / / Www \\ thecodecage \\ com \\ / \\ forumz \\ /" [R = 301, L]
RewriteCond% HTTP_HOST {} ^ $ thecodecage.eu [או]
RewriteCond% HTTP_HOST {} ^ $ www.thecodecage.eu
RewriteRule ^ .* $ "http \\:.. \\ \\ / / Www \\ thecodecage \\ com \\ /" [R = 301, L]
% RewriteCond {HTTP_HOST} ^ thecodecage.org $ [או]
RewriteCond% HTTP_HOST {} ^ $ www.thecodecage.org
RewriteRule ^ .* $ "http \\:.. \\ \\ / / Www \\ thecodecage \\ com \\ /" [R = 301, L]
RewriteCond% HTTP_HOST {} ^ $ thecodecage.com [או]
RewriteCond% HTTP_HOST {} ^ $ www.thecodecage.com/
RewriteRule ^ / $ "http \\:.. \\ \\ / / Www \\ thecodecage \\ com \\ /"? [R = 301, L]
% RewriteCond} {HTTSP_REFERER! ^ Https://www.paypal.com/ .* $ [NC]
RewriteCond% HTTPS_REFERER} {! Https://www.paypal.com ^ $ [NC]
RewriteRule 2 $? שפה = $ 1 & vbet_outside = נכון [L, QSA]
rewritecond% QUERY_STRING} {! vbet_outside = true
RewriteRule ^(.*)$ 1 $? Vbet_outside = נכון [L, QSA]
% RewriteCond} {HTTP_REFERER! ^ Http://skype.com/ .* $ [NC]
RewriteCond% HTTP_REFERER} {! Http://skype.com ^ $ [NC]
% RewriteCond} {HTTP_REFERER! ^ Http://thecodecage.com/ .* $ [NC]
RewriteCond% HTTP_REFERER} {! Http://thecodecage.com ^ $ [NC]
% RewriteCond} {HTTP_REFERER! ^ Http://www.paypal.com/ .* $ [NC]
RewriteCond% HTTP_REFERER} {! Http://www.paypal.com ^ $ [NC]
% RewriteCond} {HTTP_REFERER! ^ Http://www.skype.com/ .* $ [NC]
RewriteCond% HTTP_REFERER} {! Http://www.skype.com ^ $ [NC]
RewriteCond% HTTP_REFERER} {! ^ Http://www.thecodecage.co.uk/ .* $ [NC]
% RewriteCond} {HTTP_REFERER! Http://www.thecodecage.co.uk ^ $ [NC]
% RewriteCond} {HTTP_REFERER! ^ Http://www.thecodecage.com/ .* $ [NC]
RewriteCond% HTTP_REFERER} {! Http://www.thecodecage.com ^ $ [NC]
RewriteCond% HTTP_REFERER} {! ^ Http://www.thecodecage.com/forumz/ .* $ [NC]
% RewriteCond} {HTTP_REFERER! Http://www.thecodecage.com/forumz ^ $ [NC]
RewriteCond% HTTP_REFERER} {! ^ Http://www.thecodecage.com/forumz/images/avatars/ .* $ [NC]
% RewriteCond} {HTTP_REFERER! Http://www.thecodecage.com/forumz/images/avatars ^ $ [NC]
RewriteCond% HTTP_REFERER} {! ^ Http://www.thecodecage.com/golf/ .* $ [NC]
RewriteCond% HTTP_REFERER} {! Http://www.thecodecage.com/golf ^ $ [NC]
RewriteCond% HTTP_REFERER} {! ^ Http://www.thecodecage.eu/ .* $ [NC]
RewriteCond% HTTP_REFERER} {! Http://www.thecodecage.eu ^ $ [NC]
% RewriteCond} {HTTP_REFERER! ^ Http://www.thecodecage.org/ .* $ [NC]
RewriteCond% HTTP_REFERER} {! Http://www.thecodecage.org ^ $ [NC]
RewriteRule .* \\ (כגון JPG | JPEG | gif | PNG | BMP). $ - [F, NC]