[CommandBox 4.0.0+01015 with Lucee 5.2.7+62][Coldbox 5.0.0+633] advanced skeleton app fails

18 views
Skip to first unread message

Harkirat

unread,
Jun 5, 2018, 9:52:26 PM6/5/18
to ColdBox Platform
Hi All,
    I am running the following configuration [CommandBox 4.0.0+01015 with Lucee 5.2.7+62][Coldbox 5.0.0+633]
I created an app in folder '[webroot]/cb5' using command  "coldbox create app name=cb5app skeleton=advanced"

When I click on 'Main' under 'Registered Event Handlers' on the main page I get a 'Page not found' at http://127.0.0.1:51713/cb5/Main

By default the app has setFullRewrites( true ); in Router.cfc turned on.

I can browse to http://127.0.0.1:51713/cb5/index.cfm/Main fine but it defeats the purpose of  setFullRewrites( true ) I believe.

 Is this a bug or am I missing something?

Thanks.

Harkira

Brad Wood

unread,
Jun 5, 2018, 10:41:39 PM6/5/18
to col...@googlegroups.com
You have to customize the rewrites if you want it to work in a subdirectory.

--
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/COLDBOX
---
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coldbox+u...@googlegroups.com.
To post to this group, send email to col...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/coldbox/fd085ea5-099b-4231-add8-13f1330f3f75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Harkirat Singh

unread,
Jun 6, 2018, 11:36:04 PM6/6/18
to col...@googlegroups.com
FYI I tried running it in webroot too but the routes were still not resolving properly and leading to a blank page. I had to add setUniqueURLS(false) in Router.cfc to get things to work properly.

You received this message because you are subscribed to a topic in the Google Groups "ColdBox Platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/coldbox/ZvC2O8JsZQ4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to coldbox+u...@googlegroups.com.

To post to this group, send email to col...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages