While we have fixed the problem with CAPS before, it affects aliases again, probably after merging in the current way to handle aliases and redirects. There is yet more strtolower(trim(alias)) needed, since now it is possible to create broken vhosts and broken directories structures with subdirs, which require manual intervention:

/data/disk/o1/config/server_master/nginx/vhost.d/FooBar.com

server {
  listen        *:80;
  server_name   FooBar.com;
  include       /data/disk/o1/config/server_master/nginx/subdir.d/FooBar.com/*.conf;
}

Comments

omega8cc’s picture

Issue summary: View changes
ergonlogic’s picture

Priority: Critical » Major

This works just fine in Apache:

ServerAlias FooBar.com

So, it looks like it only affects nginx.

omega8cc’s picture

It affects all Unix systems, which are case-sensitive. The problem is that this causes mismatch with other places in Aegir where we do force lowercase, so Aegir can't manage (or delete) such site once it is created like this.

omega8cc’s picture

Note that we have noticed this while debugging subdir support.

ergonlogic’s picture

Status: Active » Closed (outdated)

The 6.x-2.x branch will go EOL along with Drupal this week. So I'm closing this issue. If it remains a confirmed issue in 7.x-3.x, feel free to re-open, or better yet, create a new issue referencing this one.