[Varnish] #34: req.http.host -> req.host
Varnish
varnish-bugs at projects.linpro.no
Wed Aug 9 13:41:50 CEST 2006
#34: req.http.host -> req.host
-------------------------+--------------------------------------------------
Reporter: des | Owner: des
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
[from http://projects.linpro.no/pipermail/varnish-dev/2006-
August/000368.html]
What I want to do in the long run is:
* define HTTP_HDR_HOST and the corresponding req.host variable to be used
instead of req.http.host.
* add code to cache_http.c to dissect and normalize the request URL, and
set the initial value of req.host based on the host part of the request
URL and / or the Host: header
* make req.host and req.url writable so vcl_recv can perform further
normalization if needed (e.g. rewrite vg.no to www.vg.no)
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/34>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list