Closed charlesr1971 closed 6 years ago
The Lucee REST mapping is as follows:
<mapping default="false" physical="C:\domains\establishmindfulness.com\wwwroot\com\api\v1" virtual="/api.establishmindfulness"/>
It looks like it already but please verify that your requests do not require a file or folder in your handler deceleration.
If so this may be coming from Tomcat directly. Turn of <EnableHTTPStatusCodes>False</EnableHTTPStatusCodes>
to see what tomcat is not liking.
Hi Bilal. Thanks for the response. Yes. I have that panel unchecked. But I think it is set to 'File or Folder'. I have actually tried all 3 options, checked & unchecked.
Do, I set
EnableHTTPStatusCodes
in web.xml?
The weird thing is, that my other 3 Boncode Handlers work as expected for:
*.cfc *.cfm *.cfml
And the 'cfc' one, I set, manually, after I installed Lucee4.5.exe So, this proves that setting them manually, should work. It looks like Tomcat isn't handing over the URI to Lucee, so that the latter can translate the serverMapping to the physical path?
EnableHTTPStatusCodes
is a BonCode setting. It needs to go to the BonCodeAJP13.settings file. For global installs the file is located in c:\windows (your system path)
As far as handler you can try *.*
rather than *
it seems to make a difference sometimes.
closing
When I try and make a REST request. I get a 404 response.
The REST Service is being correctly initialised, as it responds correctly via localhost:8888.
My Boncode Handler is installed into IIS at a global level: