Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.As of Ubuntu Saucy, Apache denies access to any directory other than /var/www/ by default using the Directory directive. This means that after you install Aegir and try to visit the frontend, you get a 403 forbidden page, and a corresponding error in the Apache error log:
AH01630: client denied by server configuration
I think Aegir needs to include a Directory block like the following in apache.conf:
<Directory /var/aegir/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>










Comments
Comment #1
helmo CreditAttribution: helmo commentedComment #2
anarcat CreditAttribution: anarcat commentedHUm... this should be part of the platform configuration in platform.d, isn't there such a file with a block for all your platforms?
Comment #3
Dane Powell CreditAttribution: Dane Powell commentedThe files in platform.d have Directory blocks for each platform's subdirectory, but there's no directory block for the entire /var/aegir/ directory - I assume that's necessary, because when I manually add it to apache2.conf, I'm able to reach the Aegir frontend.
Comment #4
anarcat CreditAttribution: anarcat commentedI confirm this problem occurs, at least in Debian Jessie + apache 2.4 + php 5.5.
Comment #5
anarcat CreditAttribution: anarcat commentedI found that adding this to the platform configuration is sufficient:
Require all grantedI committed a fix to the 1.x and 2.x branches.
Comment #7
helmo CreditAttribution: helmo commentedFor the record, this issue added two lines:
As as side effect the http_basic_auth module included in provision_tasks_extra also needs an extra line. I've create #2252063: basic auth: match hostmaster 2.1 apache update to address that.
Comment #8
fuzzy76 CreditAttribution: fuzzy76 commentedThose are new directives for Apache 2.4. :-/ They don't work properly in Apache 2.2.