mrkeck Sharing the Love

18Jul/130

Limit Web Server Access by IP using .htaccess

Create/Edit .htaccess file in the directory you want to protect. In my case, I am using it in the root of my site to protect all of it.

Add these lines:

#By default don't let anyone in unless I say so
Order Deny,Allow
Deny from all
#These folks are ok to come in
#Single WAN IP
Allow from 100.100.100.100
#Group of 8 IPs starting with the first one
Allow from 90.123.123.96/29
#90.123.123.96-90.123.123.103
# /29 is CIDR notation

#Mix and match on one line
Allow from 217.123.123.76, 63.92.123.21, 91.123.123.96/29
Filed under: Uncategorized No Comments
12Jan/110

Flickr Gallery

Filed under: Uncategorized No Comments
12Jan/110

Flickr Mini Gallery

Filed under: Uncategorized No Comments
12Jan/110

Lightbox Gallery

Filed under: Uncategorized No Comments
11Jan/110

Easy FancyBox

Anders

Filed under: Uncategorized No Comments