Welcome Guest | Login

Weird request.remote_ip issue

My site seems to be attracting a lot of spam, so I thought I'd start blacklisting people to stop the buggers. Since Yahoo got hacked just blocking emails isn't enough, so I want to blacklist Ip's with a view to possibly blocking a range if necessary. Trouble is, request.remote_ip doesn't always pick up on a visitors ip address so it's impossible to block them.

Any ideas on getting it to report IPs more consistently?

2007-12-07 06:14 PM

Hi - If you want to block the traffic from any IPs to your website, you can do it via your cPanel

cPanel >> IP Deny Manager

2007-12-07 07:20 PM

HostingRails Support
Hi - If you want to block the traffic from any IPs to your website, you can do it via your cPanel

cPanel >> IP Deny Manager

2007-12-07 07:20 PM

HostingRails Support
Absolutely, but I'd rather keep the system I have in place already where when I blacklist someone they get deleted from the database and their details are added to the blacklisted list. It all happens on one click of a button in my admin pages. Plus I still need to be able to find their IP without having to resort to log trawling.

2007-12-08 06:45 AM

You can find the IPs from your cPanel control panel > Awstats section.

2007-12-08 08:55 AM


Hello Guest! In order to post you must be an active client with us, please log in or sign up today!