On my test machine (where I test Domain Access), I run all sites in a subdirectory.

The newest test is using Subdomain. I have /etc/hosts setup to use example.com locally.

However, enabling Subdomain breaks this setup. The site is at http://example.com/umd/drupal, but the function subdomain_url_outbound_alter() strips out the base_path elements, rewriting all links to http://example.com/.

CommentFileSizeAuthor
#1 1717816-subdomain-url.patch16.29 KBagentrickard

Comments

agentrickard’s picture

Status: Active » Needs review
StatusFileSize
new16.29 KB

I'd like to present a simpler patch, but my editor strips trailing whitespace. The changes are all in subdomain_url_outbound_alter().

honza pobořil’s picture

Could you adapt the patch to the newest dev, please?

honza pobořil’s picture

ohthehugemanatee’s picture

Status: Needs review » Needs work

Patch needs a reroll