Block ISP

Is there a way to block a specific ISP from being able to access your site. I don’t want a password, just to stop certain people from being able to view my site.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi George,
Use an .htacess file to block the IP address, addresses or domains;
http://www.clockwatchers.com/htaccess_block.html

Be aware of dynamic address ranges as blocking a certain user today
may block another user tomorrow.
Regards,
Tim.

On 12 Mar 2010, at 16:48, george wrote:

Is there a way to block a specific ISP from being able to access
your site. I don’t want a password, just to stop certain people
from being able to view my site.

FreewayActions.com - Freeware and commercial actions for Freeway
Express & Pro.

Protect your mailto links from being harvested by spambots with Anti
Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Great. Where do I put the .htacess file in FW? Extended?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Where do I put the .htacess file in FW? Extended?

No! It goes on your server at Root via FTP or similar.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks. I see that now after I did some more investigating.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I tried the following.

Created a .txt file with:
order allow,deny
deny from 69.138.157.177
allow from all

Uploaded to my server (I placed it in the folder where the site is, I have a sub domain site in another folder).

Renamed the file .htaccess

When I try to load the site I get a big Internal Server Error.

Where did I go wrong?

Thanks.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You should have - over 3 lines (might just be the display on the web forum)

order allow,deny
deny from 69.138.157.177
allow from all

Did you make sure that the text file you created was plain text and not RTF

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Yep, it is 3 lines and a .txt file.

Perhaps I am not putting it in the ‘root’ directory?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

and a .txt file

It can be a .txt file and still be in rtf

Is it called .htaccess.txt should just be .htaccess

Perhaps I am not putting it in the ‘root’ directory?

Should be in the same folder as the files you are trying to block access to.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I tried it again and made sure the text file was saving as Unicode and this time it worked. Well, it doesn’t crash the site at least. Can’t know if the ip is blocked.

Thanks for the help.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you put in your own IP address and then try you will know if it works or not.

If you go to http://www.deltadzine.net/george you can see your IP address on the last line

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options