SimplyWebHosting.com KnowledgeBase Glossary    Contact Us
Search  
   
Browse by Category
SimplyWebHosting.com KnowledgeBase .: Virtuozzo and OpenVz Based Accounts .: "deny from none" Causes Hostname Lookups

"deny from none" Causes Hostname Lookups

The following lines in a site's .htaccess file will cause an Apache web server to perform reverse DNS lookups:

<Limit GET POST>
order deny,allow
deny from none
allow from all
</Limit>

The reason for the hostname lookup is that there is no "none" directive. This will cause the Apache web server to view "deny from none" as "deny from none.vpsdefaulthostname.com". (Replace vpsdefaulthostname.com with the actual VPS default hostname.) This will then force a double reverse DNS lookup on every access to this site on the VPS.

Configuring a site this way will cause delays in each attempt to access the Apache web server if the primary DNS resolver is unavailable.


How helpful was this article to you?

Related Articles

article How do I configure one hostname to be an alias for another hostname in HSPC?
If the domain name you wish to forward from has...

  1-16-2006    Views: 16937   
article How can I get my "www" hostname to appear as a server alias?
Only 'A' records show up as potential server...

  3-23-2006    Views: 4022   
article How do I add domains and hostnames to my VPS?
The System tab > Domain Management >...

(No rating)  1-19-2006    Views: 4706   

User Comments

No comments have been posted.


.: Powered by Lore 1.5.4
Copyright 2005-2014 Advantagecom Networks, Inc.
SimplyWebHosting.com - Xen Linux Virtual Private Servers (VPS) - Paypal Accepted