I recently installed Koha on Ubuntu 14.04, with Apache 2.4.7. The new default security settings in Apache 2.4 were causing the Koha directories to be blocked. The error message in the logs is: "AH01630: client denied by server configuration". More specifically, the Directory settings in apache2.conf specifically block access to all directories other than /var/www and /srv. The koha-create and Makefile.PL scripts should be modified to add the following Directory definition to the apache conf file (either instance.conf for package or koha-httpd.conf for git installs): <Directory "/path/to/doc/root"> Require all granted </Directory> Regards, Larry
FYI, changes to Apache access control structures in 2.4: http://httpd.apache.org/docs/2.4/upgrading.html#access
I just did a package install on an Ubuntu 14.04 VM: $ apt-cache policy apache2 apache2: Installed: 2.4.7-1ubuntu4.4 and there are no permission issues. Note that the access_compat module seems to be enabled by default, however it seems to work without that.
Ah I see what happened. My installation had to use git, instead of package, because this particular site requires some extensive customizations. On a package site, the root Koha directories are in /usr/share/koha, and by default Apache 2.4 allows access to /usr/share, but not /home/koha/kohaclone (or wherever else your kohaclone may be). So this will only be an issue if you're attempting to use a git install, and is a non-factor for normal package installations. We may still want to consider patching the make files for git installs, so they will work for the rare occassions when someone might need that type of install. Otherwise this is probably a non-issue. - Larry
I'm closing this for now. If we encounter this problem again, a new bug should be fixed, with reproducible steps.