No access for unloved business partners
Januar 21st, 2009 by Blu:RayNe
Corporate Wars. No, i don’t wanna give you access to my website (even if that means denying all iPhone users). Only problem on this .htaccess: it still throws HTTP 403 but and noaccess.html tells him about maintainence work on the website. Anyway, Noobs won’t recognize that.
# No access for this wannbe elitist
Order allow,deny
Deny from 217.7.144.10 # Business Static IP
Deny from 80.154.24.18 # Home Static IP
Allow from all
<Files ~ "(js|jpg|css|jpg|png)$">
Allow from all
</Files>:
# Catch iPhone-users
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_USER_AGENT} .*Mobile.*Safari
RewriteCond %{REQUEST_URI} !(js|jpg|css|jpg|png)
RewriteRule ^(.*)$ noaccess.html [L]
Filed under Allgemein having No Comments »