During the installation I am asked to set the default ports. However, this port (80 in my case) is not set neither for my Aegir site, nor for any imported site. The port is then 0 for those sites and there seems to be no option to change the number manually.
When the port number is 0 for a site, Aegir will then prevent one from making additional changes - for site aliases for instance.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 588072.patch | 2.02 KB | mig5 |
Comments
Comment #1
Anonymous (not verified) commentedI can reproduce this. Thanks for the bug report!
Comment #2
Anonymous (not verified) commentedI've committed a stopgap to cvs that takes the first port from the list of allowed ports on the web server and assigns this port when importing a site. This will need to be improved in the future and will probably be rewritten when we have #570980: allow vhosts of the same name on a different port and #588424: Default port for web servers
But for now it's fixed. If you're not running against HEAD, attached is a patch. There's a hook_update that will go and set any existing sites to the 'default' port if they are port 0 in the db.
Note that apache vhost configs were still written with port 80 for these sites, the reason they are 0 in the database is because the value was simply not being passed, so null.
Comment #3
steveparks commentedI can confirm that HEAD now updates all sites to Port 80 that were previously Port 0.
Thanks Mig5!
Steve