In Drupal 4.6 rc I've setup the following sites with no problem:
- corporate www.Construct3D.com
- community www.Neocosm.net
- personal www.NoSmallDreams.net
They share the same codebase but have different database table prefixes. Construct3D is the default site.
My problem is I've now tried to setup a separate test site that doesn't have its own domain but "resides in" a folder of construct3d.com i.e. has a base url construct3d.com/test. The settings.php file is in sites/construct3d.com.test/ (and I've tried the other suggested combinations). But this doesn't work - all I get is a "page not found" error for the the construct3d site. It seems it's not recognising "test" as a separate site.
Please can someone let me know what I'm doing wrong.
Comments
Anyone? Any
Anyone? Any ideas?
--
Brian.
--
Brian.
I'd have a look at the
I'd have a look at the apache logs. Running full Drupal sites in a subdirectory works ususally fine. what does the httpd.conf say about that subdir site?
--
If you have troubles with a particular contrib project, please consider filing a support request. Thanks. And, by the way, Drupal 4.6 will support PHP 5.
--
Drupal services
My Drupal services
Apache logs aren't much
Apache logs aren't much help. They just report the 404 page not found error when accessing construct3d.com/test/.
I'll have to ask my webhost about the httpd.conf (unless you know how I can view/change this or my vhost settings myself in a shell session?).
--
Brian.
--
Brian.
Hmm. So the directory /test
Hmm. So the directory /test exists? There probably isn't anything in it, right?
Can you try to remove it and create a soft link named test instead?
ln -s . test
is the command you need to execute from the shell (after going to your main www directory).
--
If you have troubles with a particular contrib project, please consider filing a support request. Thanks. And, by the way, Drupal 4.6 will support PHP 5.
--
Drupal services
My Drupal services
You're a legend!
Thanks Gerhard! That worked a treat. I had no /test directory to remove, but creating that soft link did the trick.
--
Brian.
--
Brian.
Really helpful
Somebody ought to get this in the documentation. (yes, it helped me end my agony too)