Jump to content


Check out our Community Blogs

skilletsteve

Member Since 11 Aug 2006
Offline Last Active Mar 31 2007 08:15 PM
-----

Posts I've Made

In Topic: Question: Dynamic Styles With PHP

31 March 2007 - 01:06 PM

Thank you very much. This seems to work quite well.

In Topic: Question: Block Traffic from certain countries

11 March 2007 - 10:12 AM

Wouldn't you need to do an .htaccess for every directory though?


Yes, but I simply just downloaded the .htacess and them uploaded it into every directory. (And since what I run is proxy sites there were not that many directories. I am sure for other sites that are more content heavy this method may not have been the best choice.)

In Topic: Question: Block Traffic from certain countries

11 March 2007 - 10:01 AM

yes I was, quite easily actually. I just used the following code

order allow,deny
allow from all
deny from 62.60.128.0/17
deny from 62.193.0.0/19
Etc...


and for all the denies I simply went to this page IP address range lookup
and selected Iran.

In Topic: Question: Block Traffic from certain countries

09 March 2007 - 08:49 PM

(sorry to double post)

If anybody is wondering, I was informed that you can block traffic from different regions using the .htaccess file on the server.

In Topic: Question: Block Traffic from certain countries

08 March 2007 - 01:41 PM

I'm curious to know why you want to block them. Are they causing problems?


I am getting started hosting a lot of proxy sites, and running adsense on the homepages. Users from Iran tend to use a LOT of bandwidth, and their clicks aren't worth that much on adsense.
so not 'problems' but I feel I would do better if they could not use my sites.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download