Re: allow from "hostname" not working..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Michael Alipio wrote:
[...]

Though I'm still wondering if there is a way to tell
apache to just skip reverse resolving before
evaluating the "allow from hostname" rule...


The rest is ok, but the phrase above shows that you are still missing a part of the explanation.

Apache /does not know/ the hostname and domainname of the workstation from which the request is sent. That information is not included in the HTTP request from your browser.
Apache knows 3 things :
- the IP address from which the HTTP connection to itself is being made
- the hostname of the server that you are trying to reach
- the URL that you are requesting (of course)

(That's the essentials; there is more stuff, but nothing to do with the IP addresses, domains, etc..)

So, Apache knows the IP address from which you are talking to it.
But if it wants to know which is the DNS name corresponding to that IP address, it /must/ do a reverse DNS lookup.
And by saying "Allow from (domain)", you are telling it to do that.
You cannot stop it from doing that, or "Allow from (domain)" would never work. Those two things depend absolutely on eachother.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux