logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



Apache Drupal and multi site

 
Post new topic   Reply to topic    Apache Forum Index -> Other Software



View previous topic :: View next topic  
Author Message
ash



Joined: 25 Feb 2016
Posts: 2

PostPosted: Thu 25 Feb '16 17:00    Post subject: Apache Drupal and multi site Reply with quote

Hi

I have successfully made two drupal sites work using unique hostname using individual vhosts i.e http://drupallocalhost (docroot /var/www/drupal) and http://drupal1localhost (/var/www/drupal1).

Can anyone point me the direction of setting up drupal multi site, with its individual drupal codebase and database on Apache2?

e.g. drupal site on /var/www/drupal (http://localhost), drupal1 on /var/www/drupal1 (http://localhost/drupal1).

I have configuered vhost for main localhost that points to docroot of /var/www/drupal. Have created an Alias /drupal1 which point to /var/www/drupal2. I can get to the landing page of drupal1 but no other links on the page work nor can I log into drupal using http://localhost/drupal1/user

Any guidance on this appreciated.

Thanks

Ash
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6255
Location: Germany, Next to Hamburg

PostPosted: Fri 26 Feb '16 11:55    Post subject: Reply with quote

There is such a thing in the docs --> https://www.drupal.org/documentation/install/multi-site
Back to top
ash



Joined: 25 Feb 2016
Posts: 2

PostPosted: Fri 26 Feb '16 17:33    Post subject: Reply with quote

Thank you for your response James.

I have tried that and as it is structure I want I don't want to share drupal codebase.

What I want to achieve is one host name (http://localhost) but with subsites (http://localhost/drupal1, http://localhost/drupal2, etc) that point to unique drupal codebase /var/www/drupal, /var/www/drupal2, etc.

Is this possible?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6255
Location: Germany, Next to Hamburg

PostPosted: Tue 08 Mar '16 18:05    Post subject: Reply with quote

Short answer: No.
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Other Software
Page 1 of 1