KnowledgeBase Glossary    Contact Us
Browse by Category 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

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". (Replace 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: 18621   
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: 5776   
article How do I add domains and hostnames to my VPS?
The System tab > Domain Management >...

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

User Comments

No comments have been posted.

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