HEAD should be treated the same as GET?

This is a discussion on HEAD should be treated the same as GET? within the Linux Web Servers forums, part of the Web Server and Related Forums category; I'm curious where the similarities fall apart with Apache 2.2. Why do I get a 200 response code ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-20-2006
shadow
 
Posts: n/a
Default HEAD should be treated the same as GET?

I'm curious where the similarities fall apart with Apache 2.2. Why do
I get a 200 response code for "GET / HTTP/1.0", yet I get a 403 when
using "HEAD / HTTP/1.0"? Is this a configuration issue or is it just
part of the way Apache handles HEAD requests? I apologize beforehand
for my newbiness.

- Shadow

  #2 (permalink)  
Old 12-24-2006
Juha Laiho
 
Posts: n/a
Default Re: HEAD should be treated the same as GET?

"shadow" <shadow.cipher@gmail.com> said:
>I'm curious where the similarities fall apart with Apache 2.2. Why do
>I get a 200 response code for "GET / HTTP/1.0", yet I get a 403 when
>using "HEAD / HTTP/1.0"? Is this a configuration issue or is it just
>part of the way Apache handles HEAD requests?


Sound more like a configuration issue; it could be that you've only
allowed GET (and perhaps POST) methods to be served.
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:02 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0