Hi All,
I am relatively new to Drupal. I have Drupal 6.20 installed on Ubuntu 11.04 using repository. I tried to get multisite support going according to instructions found online. I've created new database for each of the new sites and copied files from default to new site folders using: sudo cp -r /etc/drupal/6/sites/default /etc/drupal/6/sites/site1.net. I tried to access it in the browser with http://localhost/drupal6/sites/site1.net/ but it gave me "Forbidden" permission error. I did change the permission of the folder using "chmod 666". Can someone help me out or point me to the right direction?
Thanks! Tom
I believe the URL you should be using to access the site should be http://site1.net
Assuming you have that set up in Apache and your /etc/hosts file.
Thanks! Steve
On Fri, Aug 12, 2011 at 2:47 PM, EPA WC epawcweb@gmail.com wrote:
Hi All,
I am relatively new to Drupal. I have Drupal 6.20 installed on Ubuntu 11.04 using repository. I tried to get multisite support going according to instructions found online. I've created new database for each of the new sites and copied files from default to new site folders using: sudo cp -r /etc/drupal/6/sites/default /etc/drupal/6/sites/site1.net. I tried to access it in the browser with http://localhost/drupal6/sites/site1.net/ but it gave me "Forbidden" permission error. I did change the permission of the folder using "chmod 666". Can someone help me out or point me to the right direction?
Thanks! Tom -- [ Drupal support list | http://lists.drupal.org/ ]
Thanks Steve. Currently I don't have domain name set up yet. This is what confuses me. I only want to test it out locally for multiple sites at this point. How do I set them up in Apache and /etc/hosts file? Your further help is appreciated.
Tom
On Fri, Aug 12, 2011 at 2:49 PM, Steve Karsch steve@stevekarsch.com wrote:
I believe the URL you should be using to access the site should be http://site1.net
Assuming you have that set up in Apache and your /etc/hosts file.
Thanks! Steve
On Fri, Aug 12, 2011 at 2:47 PM, EPA WC epawcweb@gmail.com wrote:
Hi All,
I am relatively new to Drupal. I have Drupal 6.20 installed on Ubuntu 11.04 using repository. I tried to get multisite support going according to instructions found online. I've created new database for each of the new sites and copied files from default to new site folders using: sudo cp -r /etc/drupal/6/sites/default /etc/drupal/6/sites/site1.net. I tried to access it in the browser with http://localhost/drupal6/sites/site1.net/ but it gave me "Forbidden" permission error. I did change the permission of the folder using "chmod 666". Can someone help me out or point me to the right direction?
Thanks! Tom -- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
Make some bogus domain and put it in your hosts file:
127.0.0.1 myname.mytld
You can really make it anything. The one thing about hosts files is that you will have to do the same for every subdomain too. Hosts doesn't allow wildcards, so unless you want to setup your own DNS server, you'll have to go that route.
Apache does handle wildcard sudomains.
<VirtualHost *:80> ServerName myname.mytld ServerAlias *.myname.mytld DocumentRoot {path to your installation directory} <Directory /> AllowOverride All </Directory>
</VirtualHost>
The ServerAlias is the trick there.
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 8/12/2011 2:55 PM, EPA WC wrote:
Thanks Steve. Currently I don't have domain name set up yet. This is what confuses me. I only want to test it out locally for multiple sites at this point. How do I set them up in Apache and /etc/hosts file? Your further help is appreciated.
Tom
On Fri, Aug 12, 2011 at 2:49 PM, Steve Karsch steve@stevekarsch.com wrote:
I believe the URL you should be using to access the site should be http://site1.net
Assuming you have that set up in Apache and your /etc/hosts file.
Thanks! Steve
On Fri, Aug 12, 2011 at 2:47 PM, EPA WC epawcweb@gmail.com wrote:
Hi All,
I am relatively new to Drupal. I have Drupal 6.20 installed on Ubuntu 11.04 using repository. I tried to get multisite support going according to instructions found online. I've created new database for each of the new sites and copied files from default to new site folders using: sudo cp -r /etc/drupal/6/sites/default /etc/drupal/6/sites/site1.net. I tried to access it in the browser with http://localhost/drupal6/sites/site1.net/ but it gave me "Forbidden" permission error. I did change the permission of the folder using "chmod 666". Can someone help me out or point me to the right direction?
Thanks! Tom -- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
First, you will have to restart Apache after changing vhosts.conf.
Second, some browsers, such as FF, also require a restart after the change.
Nancy Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
From: EPA WC epawcweb@gmail.com To: support@drupal.org Sent: Friday, August 12, 2011 2:47 PM Subject: [support] Help with Multisite
Hi All,
I am relatively new to Drupal. I have Drupal 6.20 installed on Ubuntu 11.04 using repository. I tried to get multisite support going according to instructions found online. I've created new database for each of the new sites and copied files from default to new site folders using: sudo cp -r /etc/drupal/6/sites/default /etc/drupal/6/sites/site1.net. I tried to access it in the browser with http://localhost/drupal6/sites/site1.net/ but it gave me "Forbidden" permission error. I did change the permission of the folder using "chmod 666". Can someone help me out or point me to the right direction?
Thanks! Tom -- [ Drupal support list | http://lists.drupal.org/ ]
Thanks Jamie and Nancy. So let's say I have two sites called site1 and site2 and I want to make them subdirectory sites on my single drupal installation. I don't have domain names set up at all. But I want to be able to access these sites with localhost or my ip address with /site1 or /site2. How do I go about configuring apache and etc/hosts file to make this simple scenario work?
Thanks! Tom
On Fri, Aug 12, 2011 at 3:25 PM, Ms. Nancy Wichmann nan_wich@bellsouth.net wrote:
First, you will have to restart Apache after changing vhosts.conf. Second, some browsers, such as FF, also require a restart after the change.
Nancy
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
From: EPA WC epawcweb@gmail.com To: support@drupal.org Sent: Friday, August 12, 2011 2:47 PM Subject: [support] Help with Multisite
Hi All,
I am relatively new to Drupal. I have Drupal 6.20 installed on Ubuntu 11.04 using repository. I tried to get multisite support going according to instructions found online. I've created new database for each of the new sites and copied files from default to new site folders using: sudo cp -r /etc/drupal/6/sites/default /etc/drupal/6/sites/site1.net. I tried to access it in the browser with http://localhost/drupal6/sites/site1.net/ but it gave me "Forbidden" permission error. I did change the permission of the folder using "chmod 666". Can someone help me out or point me to the right direction?
Thanks! Tom -- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
Simply:
127.0.0.1 site1.dev 127.0.0.1 site2.dev
(I use .dev for all my development stuff - since this is being done locally you can make anything you want!)
In Apache you can either setup a VHost for each individual domain (best route for logging and that), or you can set the ServerAlias directive to multiple domains, just separate them by a space.
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 8/12/2011 3:36 PM, EPA WC wrote:
Thanks Jamie and Nancy. So let's say I have two sites called site1 and site2 and I want to make them subdirectory sites on my single drupal installation. I don't have domain names set up at all. But I want to be able to access these sites with localhost or my ip address with /site1 or /site2. How do I go about configuring apache and etc/hosts file to make this simple scenario work?
Thanks! Tom
On Fri, Aug 12, 2011 at 3:25 PM, Ms. Nancy Wichmann nan_wich@bellsouth.net wrote:
First, you will have to restart Apache after changing vhosts.conf. Second, some browsers, such as FF, also require a restart after the change.
Nancy
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
From: EPA WC epawcweb@gmail.com To: support@drupal.org Sent: Friday, August 12, 2011 2:47 PM Subject: [support] Help with Multisite
Hi All,
I am relatively new to Drupal. I have Drupal 6.20 installed on Ubuntu 11.04 using repository. I tried to get multisite support going according to instructions found online. I've created new database for each of the new sites and copied files from default to new site folders using: sudo cp -r /etc/drupal/6/sites/default /etc/drupal/6/sites/site1.net. I tried to access it in the browser with http://localhost/drupal6/sites/site1.net/ but it gave me "Forbidden" permission error. I did change the permission of the folder using "chmod 666". Can someone help me out or point me to the right direction?
Thanks! Tom -- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
Thanks Jamie. I will try it out and see how it goes. Tom
On Fri, Aug 12, 2011 at 3:40 PM, Jamie Holly hovercrafter@earthlink.net wrote:
Simply:
127.0.0.1 site1.dev 127.0.0.1 site2.dev
(I use .dev for all my development stuff - since this is being done locally you can make anything you want!)
In Apache you can either setup a VHost for each individual domain (best route for logging and that), or you can set the ServerAlias directive to multiple domains, just separate them by a space.
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 8/12/2011 3:36 PM, EPA WC wrote:
Thanks Jamie and Nancy. So let's say I have two sites called site1 and site2 and I want to make them subdirectory sites on my single drupal installation. I don't have domain names set up at all. But I want to be able to access these sites with localhost or my ip address with /site1 or /site2. How do I go about configuring apache and etc/hosts file to make this simple scenario work?
Thanks! Tom
On Fri, Aug 12, 2011 at 3:25 PM, Ms. Nancy Wichmann nan_wich@bellsouth.net wrote:
First, you will have to restart Apache after changing vhosts.conf. Second, some browsers, such as FF, also require a restart after the change.
Nancy
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
From: EPA WC epawcweb@gmail.com To: support@drupal.org Sent: Friday, August 12, 2011 2:47 PM Subject: [support] Help with Multisite
Hi All,
I am relatively new to Drupal. I have Drupal 6.20 installed on Ubuntu 11.04 using repository. I tried to get multisite support going according to instructions found online. I've created new database for each of the new sites and copied files from default to new site folders using: sudo cp -r /etc/drupal/6/sites/default /etc/drupal/6/sites/site1.net. I tried to access it in the browser with http://localhost/drupal6/sites/site1.net/ but it gave me "Forbidden" permission error. I did change the permission of the folder using "chmod 666". Can someone help me out or point me to the right direction?
Thanks! Tom -- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
On Fri, Aug 12, 2011 at 20:40, Jamie Holly hovercrafter@earthlink.net wrote:
Simply:
127.0.0.1 site1.dev 127.0.0.1 site2.dev
(I use .dev for all my development stuff - since this is being done locally you can make anything you want!)
Not that it won't work, but I think the canonical way is 127.0.0.1 localhost site1.dev site2.dev
Regards Luis