Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Block Facebook access
Block Facebook: when you post on a wall or PM, Facebook loads the URL ...
  • Loading branch information
BoboTiG committed Jan 14, 2013
commit 49181545fa0c1cbf23d5083a70b426fa82790b34
12 changes: 12 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

# Compress files
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript application/x-javascript

# Block Facebook: when you post on a wall or PM, Facebook loads the URL ...
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^$
RewriteCond %{HTTP_USER_AGENT} ^.*facebook.*$ [NC]
RewriteRule .* - [F,L]
</IfModule>