Roundcube has an unnecessary dependency on Apache
Bug #82741 reported by
Joshua Kugler
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
roundcube-webmail (Ubuntu) |
Fix Released
|
Undecided
|
Carlos Eduardo Pedroza Santiviago |
Bug Description
Binary package hint: roundcube-webmail
In trying to install Roundcube Webmail, it wants to install Apache, when it really only needs a web server. I see that the post* scripts want to modify Apache-specific configuration. Maybe this should be changed. A debconf setting that would ask which web server you want to configure for would be nice. But failing if it can't find /etc/apache2 seems a little inelegant.
I'm going to modify the control to depend on httpd, delete the post* scripts, and install and configure it with Lighttpd. I'll post my configuration changes for Lighttpd as a comment on this bug report.
Changed in roundcube-webmail: | |
assignee: | nobody → segfault |
status: | Unconfirmed → Confirmed |
To post a comment you must log in.
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"