Subdirectory support (#705026: Allow creation of example.com/foo and example.com/bar type of sites (Part I)) is still very preliminary and needs those issues to be fixed before completion:

Comments

cweagans’s picture

Would anyone be willing to work on this for money? If so, can you please estimate the amount of time required and send me your hourly rate? Please note that I don't much care about nginx support.

At this point, it doesn't look like subdirectory support works at all.

anarcat’s picture

Assigned: Unassigned » anarcat

can you elaborate on what is not working?

financing this would indeed help in prioritising this work. i can provide an estimate once i figure out exactly what's broken, somewhere next week.

anarcat’s picture

So it turns out that I just can't figure out how to make a subdir site in Drupal, regardless of aegir. See #2097689: clean_urls don't work well with subdirectory.

anarcat’s picture

phew, figured that one out, now back into looking at multi-server support.

helmo’s picture

Issue summary: View changes

Updated issue summary.

helmo’s picture

Issue summary: View changes

new spunn-off task

anarcat’s picture

Issue summary: View changes

update

anarcat’s picture

Okay, this is looking pretty good now - the code has been refactored, multi-server works, as far as I know, and code was really cleaned up.

We still don't support example.com + example.com/foo, and nginx support is still missing. I have removed the link to this issue: #2020087: Use the <Location>-based approach from subdirs for all site vhosts - as it is relevant only to fix the example.com problem.

All code now sits on the main 2.x branch, and would need further testing.

cweagans’s picture

Assigned: anarcat » cweagans

I will test this in the next two weeks or so. Thanks for the hard work on this!

anarcat’s picture

note that i have a potential fix for example.com support in #2020089: Allow example.com and example.com/foo domains, feedback and testing welcome.

anarcat’s picture

Issue summary: View changes

remove the thing, we'll do it only as part of the example.com fix

anarcat’s picture

Issue summary: View changes

add a new issue

omega8cc’s picture

Issue summary: View changes
omega8cc’s picture

Issue summary: View changes
omega8cc’s picture

Issue summary: View changes

Multiple (tested) fixes committed.

Happy New Year!

anarcat’s picture

Issue summary: View changes

Wow, that's great, thanks for the good work!

Now it seems the only issue remaining is usability, I added this to the list:

the site form could be improved, ideally we would just type foo.example.com/bar in the site title or alias field and everything would "just work"

ergonlogic’s picture

Issue summary: View changes
Status: Active » Fixed

All the sub-issues are closed except a note for UI improvements. I added #2186923: Allow example.com/foo activate subdirs on a site to follow-up on that.

Status: Fixed » Closed (fixed)

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

colan’s picture

Title: [meta] remaining issues with subsite support » [META] Remaining issues with subsite support (Part II)

Added meta issue part number.