How can I create multisites in folders and not in subdomains?

Events happening in the community are now at Drupal community events on www.drupal.org.
azuledu's picture

I would like to create a multisite with Aegir in myserver.org/mysite.
In Create content -> Site -> Domain I only can insert something like myserver.org.mysite but then Aegir understand that my site is in http://myserver.org.mysite instaead of http://myserver.org/mysite

How can I create multisites in folders and not in subdomains?

Thanks.

Comments

Drupal Multisite using multiple subdirectories

pips1's picture

We'd like to do the same thing. We'd like to use Aegir to manage Drupal instances as subdirectories for students: http://myserver.edu/student1, http://myserver.edu/stundent2, etc.

Regarding "Setting up your Drupal Multisite using multiple subdirectories" see the article here:
http://acquia.com/blog/migrating-drupal-way-part-iii-managing-multiple-s...

The approach with symbolic links works, but clutters up your file system if you have lots of them... As an initial attempt, we patched Aegir to write "Alias" directives in the Apache virtual host configuration files it creates for each site:

Alias /student1 /path/to/drupalroot/

Now we don't need to (manually) create the symlinks. :-)

However, something is still wrong.. Aegir now doesn't send out the initial "site created" mail for the site's superuser (with the one-time login). We need to investigate this further..

Thanks mig5, that's clarify

azuledu's picture

Thanks mig5, that's clarify things for me.

Aegir hosting system

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: