httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krist van Besien" <krist.vanbes...@gmail.com>
Subject Re: [users@httpd] how to reject head request
Date Thu, 20 Nov 2008 12:28:15 GMT
On Thu, Nov 20, 2008 at 11:43 AM, André Warnier <aw@ice-sa.com> wrote:
> By rejecting HEAD requests, you would be forcing your own server to do more
> work, you would cause unnecessary use of bandwidth, and you may even have
> the result that some clients will consider that the page is not available,
> and return an error to the user.

Normally most http clients will asume that a URL is not available when
a HEAD request returns with a 403, and will not repeat with a GET.
Apache itself treats HEAD as a special case of a GET, and any access
controls that apply to GET (eg. in a <limit> block) will immediately
also apply to HEAD.

Krist

-- 
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message