Comment 1 for bug 82741

Revision history for this message
Joshua Kugler (jkugler) wrote :

Not much needed to be done. I enable simple-vhost and fastcgi (although I didn't need to do either). CGI would be needed if fastcgi wasn't enabled. I set the document root to the root location, and away we went.

I added a rewrite rule to prevent certain directories from being entered.

$HTTP["host"] =~ "hostname_of_machine" {
                "^/(config|logs|SQL|temp)/.*$" => "THIS_DIRECTORY_SHOULD_NOT_BE_ACCESSED_REMOTELY", #Generates a 404
                )
        }

Granted additional setup needs to be done if using Lighttpd. Maybe debconf could put up a warning message (if Apache wasn't installed, but another httpd was) along the lines of "See /usr/share/doc/roundcube-webmail/README.otherhttpd"