Mick Genie's Blog

Mick Genie Technical Blog

Archive for February, 2010

How to block a country range IPs?

Many blogger was wonder on how to block the IPs from a country as they might suffer from unwanted attack such as compromised from their site.

Mick Genie will suggest you a site to automatically generate the script from a country IPs.
http://www.blockacountry.com/

Before you look into the given URL, please understand that you shall have mod_rewrite enabled from your server either in Windows IIS, Apache or Linux Apache. It is because the given script is running with .htaccess file, you simply edit your .htaccess file from your site to have this rules applied.

Please use the site with your own risk and use as references only as Mick Genie do not have any share with that website :P .

  • Twitter
  • WordPress
  • Blogger Post
  • Delicious
  • Facebook
  • Share/Bookmark
posted by Mick Genie in IIS, Technology and have Comment (1)

IIS 7.0 Administration Pack

I have not blog for a month :P . It was a very busy month for January(lazy for me, actually).

Today, got to share something with our friend again which known as IIS 7.0.Administration Pack and I will highlight the FastCGI Setting for IIS 7.0.

Normally, when you install PHP FastCGI with IIS 7.0, you will not have the UI(User Interface) setting from your IIS 7.0, but you may install IIS 7.0 Administration Pack to allow you IIS to show the setting from IIS.

Refer to the URL as below and choose the Administration pack which suite to your system.
http://www.iis.net/expand/AdministrationPack

Install it, and you are done.

Look to your IIS and select on the machine name, you shall get the FastCGI setting overthere.

  • Twitter
  • WordPress
  • Blogger Post
  • Delicious
  • Facebook
  • Share/Bookmark
posted by Mick Genie in IIS, PHP and have No Comments
Get Adobe Flash playerPlugin by wpburn.com wordpress themes