Coldfusion application in subdirectory REST Mapping Issue -


i have application when in root of site worked fine. put in subdirectory test compatibility , breaks. structure follows:

/cfc/     rest/ -- rest endpoints     model/ -- orm model mappings     util/ -- util classes 

it's pretty simple crud gets metadata models use in front end. basically, calls rest endpoints or cfc's called rest endpoints encounter error when it's dealing requires pathing. example:

getcomponentmetadata("models.table");

errors cannot find componenet models.table. using mapping /cfc/model, if try cfc.model.table, same thing happens, applicationname.cfc.model.table.

i have feeling due how cf registering rest endpoints, since works root application, stalls out when it's in subdir. have insight on can done or how cf handles registration there might work around it?


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -