Feb 18 2012

How to Block any IP address using htaccess

Here we will show how easy it is to block an IP address such the need arrise. First part is to allow all user but listed IPs, second part is to block all IP address but allow selected IP address.

Block only selected IP addresses


      order allow,deny
      deny from 123.45.67.89
      deny from 012.34.56.78
      allow from all

To deny more IP addresses simply repeat line 2 or 3 “deny from 123.45.67.89

Block all IP address but allow only selected IPs


         Order deny,allow
         Deny from all
         Allow from 123.45.67.89

More information can be found the the Apache.org website under Access Control using HTACCESS

Matrix Web Designers
211 Argyle St. KeyserWV26726 USA 
 • 443-902-4868

Permanent link to this article: http://www.matrixwebdesigners.com/ linux-htaccess/how-to-block-any-ip-address-using-htaccess

Dec 14 2011

Styling the body tag

Styling the body tag in CSS is pretty much the first thing one does.

First lets open up our style.css (or yourstyle.css)

First thing we will add is the following bit of code

  body { }

This sets up up for whats next, making some style.

The body take looks like this in your html file.

<html>
 <body>

Back to CSS

Remember folks, css is pretty easy to figure out once you learn how it operates.

Permanent link to this article: http://www.matrixwebdesigners.com/ everything-css/css-2-1-styling/styling-the-body-tag