I tried the dev mode out on my Radiant blog the other day but I just can't get Radiant to recognise that it's running under dev.digitalblueprint.co.uk. I've tried both server aliases and seperate virtual hosts for the different domains but still no go. Has anyone else had a similar problem that
Well, I currently have it set up as two seperate virtual hosts. One for www.mydomain and the other for dev.mydomain, both DocumentRoot's are referencing the same symlink to radiant/public. The server is running Apache 1.3 with fcgi.
The Radiant::Config[dev.host] is also definately set to
dev.host should be set to dev only. Other than that it should work.2006/9/29, Kevin Ansfield [EMAIL PROTECTED]
:Well, I currently have it set up as two seperate virtual hosts. One for www.mydomain
and the other for dev.mydomain, both DocumentRoot's are referencing the same symlink to
OK, I've tried it with both dev and dev.mydomain with no go. Env dumps for both domains can be found here if it's any help:http://www.digitalblueprint.co.uk/test
http://dev.digitalblueprint.co.uk/testI'll have a look at the code later and see if i can see why it's not recognising the
No, it's definately not redirecting. Looking at the code, the first check it performs is whether or not @request.host == Radiant::Config['dev.host'] so the config var should definately be set to the full domain, not just dev as the second check it performs checks for that as the default.
I've
You don't see them in the main page, have you tried going directly to their url? Because r:children:each still doesn't catch draft pages, even in dev mode.2006/9/29, Kevin Ansfield
[EMAIL PROTECTED]:No, it's definately not redirecting. Looking at the code, the first check it performs is whether
Giovanni Intini wrote:
You don't see them in the main page, have you tried going directly to their
url? Because r:children:each still doesn't catch draft pages, even in dev
mode.
Perhaps this is an oversight on my part. I'd accept a patch for this if
it is truly a problem.
--
John Long
I'll look into it right now and see if I'm able to fix it. Still learning my way into radiant code :)2006/9/29, John W. Long [EMAIL PROTECTED]
:Giovanni Intini wrote: You don't see them in the main page, have you tried going directly to their
url? Because r:children:each still doesn't catch draft
John I looked through the sources to see if I could easily fix this problem and I fear it can't easily be fixed because r:children is inside a model, and the published state for retrieval is hardcoded in there.
On the other hand the subdomain recognization is controller level stuff. I think this