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
Post a Comment