dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
12
share rss forum feed


John Galt
Forward, March
Premium
join:2004-09-30
Happy Camp
kudos:8
reply to John Galt

Re: Localhost IP Shown in Forum Registration

Suggestion about how to go about this...??

Again, this falls outside of general skill set, but I'm learning.


cdru
Go Colts
Premium,MVM
join:2003-05-14
Fort Wayne, IN
kudos:7
Apache's .htaccess. I believe putting the following in that file will block localhost. Apache's not my thing so I can't guarantee it.

order allow,deny
deny from localhost
allow from all


John Galt
Forward, March
Premium
join:2004-09-30
Happy Camp
kudos:8
said by cdru:

Apache's .htaccess. I believe putting the following in that file will block localhost. Apache's not my thing so I can't guarantee it.

order allow,deny
deny from localhost
allow from all

Is this position-sensitive within the .htaccess file, or will "anywhere" within the file do...?


cdru
Go Colts
Premium,MVM
join:2003-05-14
Fort Wayne, IN
kudos:7
said by John Galt:

Is this position-sensitive within the .htaccess file, or will "anywhere" within the file do...?

I believe it doesn't matter as long as there aren't conflicting directives.


John Galt
Forward, March
Premium
join:2004-09-30
Happy Camp
kudos:8
OK...thanks!

I give it a try and see what happens.