[coldbox:8224] RES: Are *.xml.cfm config files deprecated? :)

Haven't looked at the coldbox code, but maybe the problem is that
you're using a port number as part of the url "111.222.333.444:55"

That may not be supported. It may only support a url without the port.

- Gabriel

The strange thing is that when I fwreinit the framework in the address with
the port number, it works; but it doesn't work with both at the same time -
which is, as I think, the very purpose of having environments at all.

I suppose that if it "partially works" with the port number, than the
problem is not that, but I'll give it a try. Thanks for the tip!

Fernando S. Trevisan (Programador)
I fernando.trevisan@tribointeractive.com.br
f (11) 5501-1351 ramal 1392

-----Mensagem original-----

What is in your Routes.cfm? Are you using the SES interceptor?

Luis, correct me if I am wrong, but at this point the xml config files are still working, but the perferred method if you are using any of the 3.0 code is the cfc configuration file. This will give you a lot more flexibility in your configurations.

Curt Gratz

Curt, thanks for answering, and good catch: I haven't verified the
routes.cfm as I wasn't using SES yet. But, the problem isn't in there too,
as it defines the baseURL using cgi.http_host and it returns the full
address, including the port number.

And, in fact, whenever I fwreinit the app, it gets configured right for that
environment where I "fwreinited" it - the other environment is the one that
gets messy.

I'm starting to think that I'll have to switch to the cfc configuration
file, as I'm not finding a way to solve this problem AND I want to be fully
compatible with future versions of the framework, so I can update it for
security reasons without breaking my app.

Thanks anyway for remembering the Routes.cfm file!

Fernando S. Trevisan (Programador)
* <mailto:fernando.trevisan@tribointeractive.com.br>
( (11) 5501-1351 ramal 1392