On Tuesday 19 June 2007 11:49, Michael Bueker wrote:
Hi folks,
Since my web server isn't the fastest and latest machine around, I was thinking about methods to make it quicker - and I thought of lighttpd. Would RC work with that? Is the PHP link better or worse than with apache?
I use roundcube under LigHTTPD and it works fine. Here's my config:
# This is my webmail.conf (included in the main lighttpd.conf # CAUTION: word wrap $SERVER["socket"] == ":80" { $HTTP["host"] =~ "(.*)" { url.redirect = ( "^/(.*)" => "https://%1/$1" ) } }
$HTTP["host"] =~ "hyperion" { url.rewrite = ( "/(pub)/.*" => "$0", # Allows certain directories to "go through" "^/(config|logs|SQL|temp)/.*$" => "THIS_DIRECTORY_SHOULD_NOT_BE_ACCESSED_REMOTELY", #Generates a 404 ) }
And I enabled the fastcgi module. Works great.
j