Forum Moderators: phranque

Message Too Old, No Replies

white list with rDNS .htaccess

         

mrjones

6:19 am on Mar 24, 2008 (gmt 0)

10+ Year Member



JD and Widerness plus others in the know.

How may i implement a code that will whitelist opt in only with a rDNS check at the same time.

For example i would like only the major three engines to crawl my site
with a reverse DNS look up to validate them.

And at the same time punting to the kerb any other agents including and not limiting to blank user agents.

Much appreciated if anyone can show me a code to drop or come up with one for all of us to use.

wilderness

2:40 pm on Mar 24, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



"rDNS checks"

There are some old links in either this forum or the SSID forum ( [webmasterworld.com...] ) for white-listing beginnings. Frequent updates are necessary.
My own htaccess is rather simple (KISS; Keep It Simple and Stupid) and I don't comprehend all the socalled-wild card regex lines (although I use some).

Nor do I use DNS or domain checks. Both of these requests may become CPU heavy.

Sorry I couldn't help more.

Don