This is probably very low on the priority list...
After running a test install on Lucid Apache2 did not appear to start. After debconf set up the MySQL bits for me this was a bit of a surprise.
This appeared to be because:
a) mod_rewrite wasn't turned on, and
b) the default website stayed resident (even though the koha site was enabled)
I'd be happy if there was a note in debconf to say that apache will need a bit of work (cf. zebra in the web installer).
Immediately post install apache wasn't running. Manually starting it gives:
* starting web server apache2
Syntax error on line 82 of /etc/apache2/sites-enabled/koha:
Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
After running sudo a2enmod rewrite I was shown the default site, which I disabled (sudo a2dissite default) and then got the koha web-installer.
Not automatically changing the apache configuration is a conscious decision. However, I would like to get some debconf stuff in there that asks if the admin would like the config changed. So, I'll assign this to me, but it probably won't happen for a little while :)
Fair enough. If you happen to be playing with debconf before that, would it be possible to drop in a note to the effect that apache will need manual setup?
Sure, definitely a good idea.
I just checked, in order to see about putting this in, and it turns out that it does in fact do this. After install it says:
Please see /usr/share/doc/koha/README.Debian for instructions on how to
configure things after installing the koha package.
and this says, among other things:
* Enable the suexec module for Apache.
- sudo a2enmod suexec
* Enable the rewrite module for Apache.
- sudo a2enmod rewrite
Changing this to resolved-invalid due to Robin's comments. There does not seem to be anything to fix here.