ColdBox 3.0.0b3 production mode???

4 views
Skip to first unread message

johnb

unread,
Nov 16, 2009, 9:37:53 AM11/16/09
to ColdBox Platform
I can't get ColdBox 3.0.0b3 to show development mode in the ColdBox
debugger info, I've got the URL of my app listed in the environments
file under dev - but it won't change...

any ideas?

cheers,

john

Dorioo

unread,
Nov 16, 2009, 10:30:03 AM11/16/09
to col...@googlegroups.com
What is the url that you put in your browser? And what "url" value are you putting in your environment file?

For example, my development url is "http://localhost/theappimworkingon/" and the value I put in environment file is:

<environment name="development" urls="localhost,127.0.0.1">

- Gabriel


--
You received this message because you are subscribed to the Google Groups "ColdBox: A ColdFusion Framework" group.
To post to this group, send email to col...@googlegroups.com
To unsubscribe from this group, send email to coldbox-u...@googlegroups.com
For more options, visit this group at http://groups-beta.google.com/group/coldbox
For more information, visit http://www.luismajano.com/projects/coldbox
For Documentation, visit http://ortus.svnrepository.com/coldbox/trac.cgi

Doug Boude

unread,
Nov 16, 2009, 11:00:25 AM11/16/09
to col...@googlegroups.com
The environment is detected using the value of cgi.http_post, so just make sure that you have the appropriate values (comma delimited list) in your URLS attribute to match http_post when you're in your dev environment. 

FYI, here's the code in the environments interceptor that does the environment check:

if ( listFindNoCase(trim(arguments.environmentsArray[i].XMLAttributes.urls),cgi.http_host) ) ....

John Whish

unread,
Nov 17, 2009, 2:26:06 PM11/17/09
to col...@googlegroups.com
Small typo in doug's reply. Should be http_host not http_post :)

On 16/11/2009, Doug Boude <doug...@gmail.com> wrote:
> The environment is detected using the value of cgi.http_post, so just make
> sure that you have the appropriate values (comma delimited list) in your
> URLS attribute to match http_post when you're in your dev environment.
>
> FYI, here's the code in the environments interceptor that does the
> environment check:
>
> if ( listFindNoCase(trim(arguments.environmentsArray[i].XMLAttributes.urls),
> *cgi.http_host*) ) ....
Sent from my mobile device

Doug Boude

unread,
Nov 17, 2009, 2:27:12 PM11/17/09
to col...@googlegroups.com
oops! Thanks John. :)
Reply all
Reply to author
Forward
0 new messages