It seems like subdirectories aren't generated properly in sites.php. They are printed out as "foo.bar/baz", and they should be ouputted as "foo.bar.baz".

There are templates specific for nginx and apache that replaces the "/" with a ".", but they are not used. Instead a generic sites.php is used (which is probably more appropriate, since the output is the same no matter what server you may be using).

The sites.php template that is used does not replace the slashes, which results in a broken setup for subdirectories. The attached patch adds the same logic to that template as in the other templates.

CommentFileSizeAuthor
fix-drupal-subdirs.patch849 bytesfabsor
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fabsor created an issue. See original summary.

  • omega8cc committed 5b103b8 on 7.x-3.x authored by fabsor
    Issue #2718567 by fabsor: Subdirectory records aren't generated properly...
omega8cc’s picture

Status: Needs review » Fixed

Good find, thanks for the patch!

Status: Fixed » Closed (fixed)

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