|
Subject: New in .11: simplified 'redirect all non-ssl to ssl' and 'proxy to mod_dav_svn' Newsgroups: gmane.comp.web.lighttpd Date: 2006-03-07 14:00:02 GMT (3 years, 17 weeks, 17 hours and 10 minutes ago)
Dear lighties,
Even if .11 will be a pure bugfix release we will lift some restrictions
on the way like this one:
$SERVER["socket"] == ":80" {
$HTTP["host"] =~ "example.org" {
url.redirect = ( "^/(.*)" => "https://example.org/$1" )
server.name = "example.org"
}
}
$SERVER["socket"] == ":443" {
ssl.engine = "enable"
ssl.pemfile = "/path/to/example.org.pem"
server.document-root = "..."
}
Yes, this worked already before as long as you havn't specified
server.port = 80
In short: $SERVER["socket"] will not die if the socket is already
specified before.
This will simplify the task 'redirect all non-ssl traffic to ssl'.
The other important fix:
- get Apache + mod_dav_svn working behind lighty + mod_proxy
After fixing the handling of status-codes related to webdav + proxy we
have a working setup now:
http://forum.lighttpd.net/topic/371
Jan
--
Jan Kneschke http://jan.kneschke.de/
Perhaps you want to say 'thank you, jan': http://jk.123.org/wishlist/
|
|
|