Folder set-up needed for http://sublevel2.sublevel1.domain.tld/drupal/site1 to work?

thomas23@drupal.org's picture
public
group: Multisite
thomas23@drupal.org - Thu, 2008-06-26 17:49

Hi everyone.

I'm switching providers and have a temporal test domain at the new provider which is a subdomain of a subdomain:

sublevel2.sublevel1.domain.tld

It only gives me access to htdocs root folder on the server. So I need to add /drupal to actually get to drupal's core. What I'm aspiring is to test the drupal set-up at the new provider without having to do anything when the domains finally have been switched over, too (i.e. DNS is changed). In other words with a copy of the current folder sites/actual-domain.tld I would like to use

http://sublevel2.sublevel1.domain.tld/drupal/actual-domain1.tld/.

This, however, doesn't work (install.php is called) since drupal seams not to look for sites/actual-domain.tld after failing tld.drupal.actual-domain.tld.

From settings.php:

* 1. sites/www.drupal.org.mysite.test
* 2. sites/drupal.org.mysite.test
* 3. sites/org.mysite.test
*
* 4. sites/www.drupal.org.mysite

What is going wrong?

I also played around with $base_url to no avail. The closed I was I had content displayed but no theme and admin section didn't work properly, neither. That was with $base_url = 'http://sublevel2.sublevel1.domain.tld/drupal';, directory name tld.drupal. Not to mention I cannot find a way for site2 or site3.

Cheers!


Well it's all about logic!

timmillwood's picture
timmillwood - Fri, 2008-06-27 08:51

Well it's all about logic! Which I feel I am fairly good at.

But you lost me, sorry.


how do you mean?

thomas23@drupal.org's picture
thomas23@drupal.org - Fri, 2008-06-27 13:03

Hi timmillwood.

Thanks for your reply. How do you mean I lost you? Was my explaination to misty? All I really was asking was where I have to point my browser to if my settings.php is here: sites/domain.tld. I have one constraint that I cannot use any virtual or subdomains other than sublevel2.sublevel1.temporary-domain.tld.

Sorry if I confused people and thanks for trying ;).

Cheers.


well you can either put

timmillwood's picture
timmillwood - Fri, 2008-06-27 17:36

well you can either put settings.php in "sites/sublevel2.sublevel1.temporary-domain.tld" or do a symlink


symlink unfortunatelly is no option and

thomas23@drupal.org's picture
thomas23@drupal.org - Sat, 2008-06-28 00:06

I don't want to change the directory name since, as far as I know, that would affect internal path settings such as "file system"-settings and also image links in nodes.

Plus, secondly, this wouldn't let me selectivly target which site I'm calling, i.e. I need something like http://blah..domain.tld/drupal/site1 and http://blah..domain.tld/drupal/site2 to go to different sites/ folders.

Or does the example in settings.php with a folder hirarchie mean drupal cannot distinguish sites by appended folders? I.e. do I allways have to point my browser to drupals core and sites are only kept apart by domain/subdomain?

Cheers.