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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
"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) |