how to forbid using ip to visite my website

ustclucene ustclucene at gmail.com
Mon Nov 24 16:49:34 MSK 2008


thank you, ok, I mean I want to prevent someone attempting to access 
your website using the IP address instead of the hostname .

I use the Igor Sysoev the way. It works well.
John Moore 写道:
> ustclucene wrote:
>> how to forbid using ip to visite my website thanks
>>
>>
>>
> Perhaps you need to explain a little more clearly what you mean, 
> because you have had two different types of answer, depending on the 
> interpretation of the question:
>
> 1. I assumed you meant how to ban certain IP addresses from accessing 
> your website
>
> 2. Others assumed you meant how to prevent someone attempting to 
> access your website using the IP address instead of the hostname
>
> Which do you mean?
>
>






More information about the nginx mailing list