Fixes this install step for dev installs: https://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_packages#403_errors_for_Gitified_or_git_clone_installs --SNIP-- 403 errors for Gitified or git clone installs In Ubuntu 14.04 you may discover that your gitified install returns 403 errors - this is because of the changes to Apache directory security. A possible fix includes adding the following stanza to apache2.conf (could be added in the virtualhost, or in one of the koha-shared*.conf files as well): <Directory /home/my-user/koha-src/koha/> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory> --SNAP--
Created attachment 60833 [details] [review] Bug 18216 - Apache2 grants access to Koha modules and templates Fixes this install step for dev installs: https://wiki.koha-community.org/wiki/Koha_on_ubuntu_-_packages#403_errors_for_Gitified_or_git_clone_installs --SNIP-- 403 errors for Gitified or git clone installs In Ubuntu 14.04 you may discover that your gitified install returns 403 errors - this is because of the changes to Apache directory security. A possible fix includes adding the following stanza to apache2.conf (could be added in the virtualhost, or in one of the koha-shared*.conf files as well): <Directory /home/my-user/koha-src/koha/> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory> --SNAP--
Comparing to other entries in the conf file I noticed that "" are missing: <Directory "__OPAC_WWW_DIR__"> vs. <Directory __PERL_MODULE_DIR__> I think this patch could fix issues with the git installation for those still using it, so would be nice to have.
What about the debian/template/apache* files that might be related? This only really fixes old school git installs.
First release of 2.4 was in 2012 (https://de.wikipedia.org/wiki/Apache_HTTP_Server#Apache_2.4). ktd is using 2.4.56. I believe this is probably no longer needed, please reopen if you disagree!