Can you check in your lucee install directory for a file called conf/web.xml, which is a big XML file and you should check that an servlet entry like the one below is there and not commented out.
So for example, for “virtual” you could put “mapping” and for physical that would map to your folder outside your root directory.
Then check it with the local port of lucee (which should be 8888 to ignore IIS) and if that works, then try it with IIS .
If that DOESN’T work (and I am no expert at IIS here) but what you would need to do is tell it that all requests to /rest are handled by the same handler that does .cfm and .cfc (request handlers? can’t remember the name off hand)
The servlet is not commented out but does have load-on-startup set to 2.
The mapping I have already added, and if I tick the “list services” option it does show when going to http://my-domain/rest. I have confirmed file paths. The mapping is the same as the CF 11 one I had.
I did try /rest/* originally, along with just /rest/my_mapping/* but these had no effect. It only worked when I passed everything (*) through.
I have no issue with passing it all through as its all CFML that we produce it in. Although I was concerned about static files such as css/js etc.
These all seem to work fine though.
I have been assuming I am just missing some obvious documentation if this doesnt work “out the box”. I assume others must be using IIS along with Lucee and REST services.
Both Windows Server 2016 and Lucee / IIS are a fresh install.