bloginfo('name');

bloginfo('description');

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&gt:

# 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 »

Leave a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.