Hmmm...sorry to be a nuisance...
- I can access http://test.ubuntuguy/site/ and it goes to the same Silverstripe frontpage as http://ubuntuguy/site
- If I setup a subsite through the admin panel at either test.localhost or test.ubuntuguy I get the below erroor page when I go to http://test.ubuntuguy/site/
====================
[Notice] Undefined index: ID
GET /sisu/
Line 43 in /mnt/hgfs/Medianoche-C/Workspace/site/sapphire/core/control/ModelAsController.php
Source
34 $SQL_URLSegment = Convert::raw2sql($this->urlParams['URLSegment']);
35 $child = SiteTree::get_by_url($SQL_URLSegment);
36
37 if(!$child) {
38 if($child = $this->findOldPage($SQL_URLSegment)) {
39 $url = Controller::join_links(
40 Director::baseURL(),
41 $child->URLSegment,
42 $this->urlParams['Action'],
43 $this->urlParams['ID'],
44 $this->urlParams['OtherID']
45 );
46
47 $response = new HTTPResponse();
48 $response->redirect($url, 301);
49 return $response;