I was happy using lighty 1.4 on my vps, but suddenly the
request to
create a proxy to a subversion repository appeared and so,
we had to
install lighty 1.5, because of the
proxy-core.rewrite-request option
(the svn repository required setting the appropiate Host
header).
Now, we have the following config for fastcgi:
$HTTP["host"] == "my.domain.com" {
url.rewrite-once = ("^$" =>
"index.html")
proxy-core.balancer = "round-robin"
proxy-core.allow-x-sendfile = "enable"
proxy-core.protocol = "fastcgi"
proxy-core.backends = (
"unix:/tmp/my_domain_com.sock" )
proxy-core.max-pool-size = 16
}
this works, but it's sending all requests to the fastcgi
process. What
I would like to do, is to send only those requests of files
that do
not exists to the fastcgi process.
What's the 1.5-way to do this? (or is there a way to add the
correct
Host header in the proxy forward of light 1.4?)
regards,
--
Rolando Abarca
Phone: +56-9 97851962
|