httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matus \"fantomas\" Uhlar" <uh...@fantomas.sk>
Subject Re: logging servername out of http header
Date Tue, 11 Jun 2002 15:20:43 GMT
-> On Tue, 11 Jun 2002, Matus "fantomas" Uhlar wrote:
-> > You can also use %{Host}i and %r to detect what hostname was requested but
-> > it is quite hard to parse both.
-> 
-> Huh?  Why is %{Host}i hard to parse?  That is EXACTLY the same as what you
-> will get by turning UsecanonicalName Off and using %V.

what if someone requests

GET http://host/path/ HTTP/1.0

?
Host will be empty, while %[Vv] not and host will be in %r
-- 
 Matus "fantomas" Uhlar, uhlar@fantomas.sk ; http://www.fantomas.sk/
 Warning: I don't wish to receive spam to this address.
 Varovanie: Nezelam si na tuto adresu dostavat akukolvek reklamnu postu.
    One OS to rule them all, One OS to find them, 
 One OS to bring them all and into darkness bind them 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message