[Varnish] #77: URL rewrite
Varnish
varnish-bugs at projects.linpro.no
Fri Jun 15 12:07:19 CEST 2007
#77: URL rewrite
-------------------------+--------------------------------------------------
Reporter: lapo | Owner: phk
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: varnishd | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by gaute):
Replying to [ticket:77 lapo]:[[BR]]
Just for the record, this is all that varnish would have to do to replace
apache (and/or squid) for use with zope & plone, and make a lot of
developers like me happy :)
{{{
RewriteRule ^/(.*) http://localhost:8080/foo/bar/$1 [P]
}}}
( in combination with
{{{"if (req.http.host ~ "^www.myhost.com$") {"}}}
or with host as a part of the rewrite match expression )
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/77#comment:1>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list