trouble to access to database after rewriting url with cfwheels #1552
-
|
I'm looking for advices about the rewriting URLs fonction of cfWheels. I'm running an app on Adobe ColdFusion 2025, cfWheels 2.5.1 and CommandBox Options +FollowSymLinks There is my settings.cfm: set(coreTestDataSourceName="manytomany"); set(dataSourceName="manytomany"); set(URLRewriting="On");There is my server.json: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Is your commandbox server.json in development or production mode? Production mode has the web based administrator disabled by default. https://community.ortussolutions.com/t/no-admin-page-when-using-commandbox-docker-image/9793/2 Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
|
@Alex1356250 As @chapmandu mentioned, it’s worth clarifying that in production mode, the CFAdmin pages are disabled by default. In addition to that, Wheels’ internal/debug pages are also disabled in production, so they’re not accessible unless explicitly enabled. This helps ensure that sensitive admin and framework internals are not exposed in a live environment. You might have the environment set as production in either the .env file or the environment.cfc file. Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
|
Hi there, I realized I forgot to respond! My apologies for that. I found a solution by using a custom rule in an XML file. By the way, I noticed that in Wheels 3, the rewriting issue has been resolved. Thanks! |
Beta Was this translation helpful? Give feedback.
@Alex1356250 As @chapmandu mentioned, it’s worth clarifying that in production mode, the CFAdmin pages are disabled by default.
In addition to that, Wheels’ internal/debug pages are also disabled in production, so they’re not accessible unless explicitly enabled.
This helps ensure that sensitive admin and framework internals are not exposed in a live environment. You might have the environment set as production in either the .env file or the environment.cfc file.
Hope this helps!