Roundcube has an unnecessary dependency on Apache

Bug #82741 reported by Joshua Kugler
4
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.

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"

Revision history for this message
Oscar (oscar-minioffroad) wrote :

Sounds great. And just in case anyone was wondering, the requirements of RoundCube specifies Apache _or_ Lighttpd:
http://trac.roundcube.net/trac.cgi/wiki/Howto_Requirements

Changed in roundcube-webmail:
assignee: nobody → segfault
status: Unconfirmed → Confirmed
Revision history for this message
Carlos Eduardo Pedroza Santiviago (segfault) wrote :

This package is now obsolete and isn't maintained anymore. Users should install the package roundcube instead.

Changed in roundcube-webmail:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.