World of information, opinions, cricket and technology.

How to Block Visitors / Traffic from a Specific Country

Tuesday, June 2nd, 2009

There are times when you don't want the Visitors or Traffic to your Website or Blog from a Specific Country.

What could be the reason for blocking a country or countries?

Your site may have data that you don't want to expose to some countries or your site is getting lot of abuses from a country. There could be any other reason as well. In such cases the site owner or Blog owner would want to block the unwanted traffic from a country.

How to Block Visitors or Traffic from a Country?

(more...)

How to avoid Hotlinking of file and images using .htaccess hack

Wednesday, May 27th, 2009

Yesterday, i posted a .htaccess hack to Block Visitors from specific IP using .htaccess

Today, i am here again to share with you one more .htaccess hack.

What is HotLinking?

Avoid / Prevent Hotlinking of images or files (Credit http://www.conquerhosting.com)

Avoid / Prevent Hotlinking of images or files (Credit http://www.conquerhosting.com)

Inline linking (also known as hotlinking, leeching, piggy-backing, direct linking, offsite image grabs and bandwidth theft) is the use of a linked object, often an image, from one site into a web page belonging to a second site. The second site is said to have an inline link to the site where the object is located.

(more...)

How to Block Visitors from specific IP using .htaccess hack

Tuesday, May 26th, 2009

I am sure most of the Website owners or Blog owners have faced this problem. Some visitor is nasty or jealous and wants to trouble by posting abusive comments or do harm to the website.

One of the solutions is to Block or Deny the access to your Blog or website.

Yes, you can block a Visitor of your website. Read on to know how to do that....

Block Visitor from Specific IP Address using .htaccess Hack

I am assuming that you know about .htaccess file. It resides in the root directory of your website. The root directory could be /www/, /httpdocs/ or /public_html/ directories. Any of them depends on the hosting service.

Make sure you backup .htaccess file before you making any changes.

  • Grab the IP Address of that visitor by checking your favourite Stats webservice. I use StatCounter to get the IP Address or Wordpress Dashboard (if the visitor has left a comment).
  • Login to your hosting service site and open code>.htaccess file. Make sure you backup the file before making any changes.
  • Lets say i want to block a Visitor coming from this IP Address 120.120.120.120. I will add the below entry in .htaccess at the end of the file.
    deny from 120.120.120.120
  • Now save the file

If you want to block more visitors, just keep adding the ip addresses in .htaccess file .

In this way, you can also block the automated spammer.

If you know any other way, please share via comments. Hope you learned something from this post!

Technorati Tags: ,

Turn iPhone / iPod Touch into a Wireless HiFi Stereo Headphone

Monday, May 11th, 2009

If you are staying in a big family, then you would have definitely faced this problem. You want to listen to music or watch a movie on your PC / laptop. But you also want that nobody in your family should be disturbed. What do you do then?

I have purchased a Wireless Headphone. But it is costly.

I have found another way that can be a cheaper option, if you already have iPhone or iPod Touch.

AudioIn - WiFi wireless headphone for iPhone/iPod Touch

Turn iPod Touch or iPhone to Wireless Headphone

Turn iPod Touch or iPhone to Wireless Headphone

AudioIn can turn your iPhone / iPod Touch into a wireless HiFi stereo headphone.

AudioIn comes with free AudioServer with which you can transmit the non-DRM audio output from any application running on Windows Vista (i.e. Windows Media Player, Media Center, and iTunes etc.) wirelessly to iPhone/iPod Touch. This way you can be away from your PC / laptop but can still listen to your music on your iPhone/iPod

The AudioServer application captures the audio output from any running applications and transmits that captured audio wirelessly to AudioIn on your iPhone/iPod Touch. AudioServer application should be running on your iPod Touch or iPhone.

Requirements for AudioIn

  1. iPhone or iPod Touch with firmware version 2.2.1.
  2. iPhone 3G has to switch to WiFi mode.
  3. Any PC or laptop running Vista (all version).
  4. iPhone/iPod Touch and the the AudioReceiver PC must be on the same subnet.
  5. The AudioServer application must be downloaded and installed on your PC.

They are providing a free version of software that can be downloaded. Download and try it, if you like it then go for full version by purchasing it. For more details, Click here

I faced problems setting up AudioIn because my laptop doesn't have Stereo Mix under Recording option. If you face the same problem, then check these below two posts:

- No “Stereo Mix” recording option - Here are Few Solutions

- Use Virtual Audio Cable (VAC) to solve missing stereo-mix problem

Technorati Tags: , , , , , ,

Cannot dial 000 800 xxx Toll Free number from BSNL Landline Phone – Solution

Monday, May 4th, 2009

From the last few years, I was using Tata Indicom Landline phone at my home. Recently, I switched to BSNL Landline Phone. After a few days, I faced a weird problem.

The problem was "I cannot dial to Toll Free number starting with 000 xxx xxx". As soon as i dial more than two 0 digits, I was getting a message that "This facility is not available on your telephone".

I don't have ISD Connection. Note that this is not a ISD number. This is India Toll Free Number.

After lot of days of research and talking to BSNL technical team, I got two solutions to the problem. Below, i am mentioning those two solutions.

Two solutions to dial 000 800 xxx Toll Free number

  1. Ask BSNL Exchange to change the Switch:BSNL uses two types of switches - Ericsson and C-Dot.

    A phone that is connected through C-Dot accepts the call if the number starts with 000 and it has nothing to do with STD/ISD facitlity. It is called "Connect call" facility.

    If you cannot call to number starting with 000, It means that your Phone is using Ericsson Switch and you need to contact BSNL and explain to them the same and ask them to change the switch to C-Dot.

    There is no plan change or cost limitation other than this. The technical team can change the switch in 10 minutes only if their planning team sends a written letter.

  2. Subscribe for ISD FacilityI was unlucky. I was told that in my city they don't use Ericsson switch.

    The only option left for me was to subscribe to ISD Facility.

    It is strange issue. But i got it resolved by getting ISD Facility. I am now able to dial 000 xxx India Toll Free numbers.

I hope this post helped you. Do let me know if you have any other solutions.

Technorati Tags: , , , , , , ,