We need to slap a config file detailing a configuration for extra platforms. The configuration should look like this:

<Directory /var/aegir/drupal-5.x>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
</Directory>

This is covered by the first install instructions, but new platforms do not deploy directory-specific instructions.

In fact, Aegir should bypass the .htaccess and put all the drupal-specific .htaccess instructions into that directory block.

Comments

anarcat’s picture

This should probably be done through the platform verification task.

anarcat’s picture

Status: Active » Needs review
StatusFileSize
new2 KB

I think this is pretty much it, although that doesn't do the .htaccess part and it duplicates code from the vhost config generation code.

anarcat’s picture

StatusFileSize
new2.31 KB

With the template file.

anarcat’s picture

I committed the patch and removed the code duplication. Needs work to include the .htaccess stuff.

anarcat’s picture

Assigned: Unassigned » anarcat
Status: Needs review » Fixed

So this is mostly fixed now. I committed the last chunk of code which makes sure that the .htaccess is not loaded anymore and that the platform file is properly loaded.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit b7c170b on debian, dev-dns, dev-envobject, dev-koumbit, dev-log_directory, dev-migrate_aliases, dev-multiserver-install, dev-newhooks, dev-nginx, dev-platform_management, dev-ports, dev-purgebackup, dev-restore, dev-services, dev-simplerinstaller, dev-site_rename, dev-ssl, dev_716166_apache_conf, dev_dns, dev_server_verify, prod-koumbit, ssl, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-subdir-multiserver, 6.x-2.x-backports, dev-helmo-3.x authored by anarcat:
    start work on #384972: create a basic apache configuration file on...
  • Commit c1c1e97 on debian, dev-dns, dev-envobject, dev-koumbit, dev-log_directory, dev-migrate_aliases, dev-multiserver-install, dev-newhooks, dev-nginx, dev-platform_management, dev-ports, dev-purgebackup, dev-restore, dev-services, dev-simplerinstaller, dev-site_rename, dev-ssl, dev_716166_apache_conf, dev_dns, dev_server_verify, prod-koumbit, ssl, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-subdir-multiserver, 6.x-2.x-backports, dev-helmo-3.x authored by anarcat:
    rename the vhost_config hook to apache_vhost_config host and create a...
  • Commit 22fceb9 on debian, dev-dns, dev-envobject, dev-koumbit, dev-log_directory, dev-migrate_aliases, dev-multiserver-install, dev-newhooks, dev-nginx, dev-platform_management, dev-ports, dev-purgebackup, dev-restore, dev-services, dev-simplerinstaller, dev-site_rename, dev-ssl, dev_716166_apache_conf, dev_dns, dev_server_verify, prod-koumbit, ssl, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-subdir-multiserver, 6.x-2.x-backports, dev-helmo-3.x authored by anarcat:
    don't prepend an underscore to the platform configuration file,...
  • Commit 9b4a6be on debian, dev-dns, dev-envobject, dev-koumbit, dev-log_directory, dev-migrate_aliases, dev-multiserver-install, dev-newhooks, dev-nginx, dev-platform_management, dev-ports, dev-purgebackup, dev-restore, dev-services, dev-simplerinstaller, dev-site_rename, dev-ssl, dev_716166_apache_conf, dev_dns, dev_server_verify, prod-koumbit, ssl, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-subdir-multiserver, 6.x-2.x-backports, dev-helmo-3.x authored by anarcat:
    stop reading .htaccesses to improve performance and security. Closes: #...