Closed (works as designed)
Project:
Hosting
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 May 2013 at 14:50 UTC
Updated:
25 Jul 2014 at 14:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
clemens.tolboomComment #2
clemens.tolboomDoing
echo platforms/*/sites/sites.php | xargs tail -n10the addition default is not added automatically. Only after a site edit.Is that also true when changing the vars hosting_alias_subdomain, hosting_alias_automatic_www and hosting_alias_automatic_no_www (which are used just a few lines above the new line from the patch)?
Comment #3
helmo commentedYes, a verify task must run to update the sites.php file.
This does add the primary site uri to the "Automatic domain aliases: " list on the node page. Which could be confusing...
Comment #4
clemens.tolboomWe could rephrase "alias" into "URIs" maybe
"Domain aliases: " on site node-view into "Domain URIs"
"Automatic domain aliases" on site-edit into "Automatic domain URIs"
Comment #5
clemens.tolboomRegarding #2
on admin/hosting/aliases it is said
So does this issue needs a hook_update_N or should we file a new issue "When to verify all sites?"
Comment #6
anarcat commentedI don't understand that sentence.
Also, I think it's a good idea to rename "aliases" to "URIs" but it's a big change and should be moved to a separate issue. Otherwise i like the simplicity of the patch, but it would need testing.
Comment #7
clemens.tolboom@anarcat #6 the settings files are not changed automatically by this patch. Only when verifying a site Iguess. So how do we (and should we?) make sure D7 (+D8) platforms have their sites/sites.php filled in as it will benefit D7 sites as mentioned in the summary.
Does this needs a hook_update_N?
I have some reserves now as I'm not sure what will happen with the non-alias value regarding writing to the vhosts?
Do we have tests for Alias? Then we need a test!
Comment #8
clemens.tolboomI've used this for #1194602: [meta] Support the hosting of Drupal 8 sites but am still unsure whether this is needed. The file sites/sites.php is not filed by it and Drupal 8 is installed and running.
Comment #8.0
clemens.tolboomUpdated issue summary.
Comment #9
clemens.tolboomAdded a core issue + using related issue field.
Comment #10
clemens.tolboomHmmm ... according #2168617: INSTALL.txt has not been updated to match multisite functionality change the _file_ sites/sites.php only needs to exists.
I leave it to @helmo to "won't fix" this issue.
Comment #11
ergonlogicIf there's a performance gain by using sites.php, then IMHO we should implement it by default for D7+. Reading the core issues, though, I'm not convinced there is (yet).
Comment #12
helmo commentedNew status says it all.