webapp with datatables in it bombs when trying to use https instead of http
webapp with datatables in it bombs when trying to use https instead of http
I have a web app that uses datatables- has been working fine up until now. We are going to be adding a cert now to our app - when I try to launch the app with https instead of just http, I get the following error:
DataTables warning: table id=widgets - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1
When i review the developer tools in chrome - under the networking tab - i see that the request is returning the actual source code of the page vs. the results of the db query.
Can someone tell me how to work around this
Answers
the version I'm running is 1.10.7
It sounds like a configuration error with the http server. If it returning something different when requesting via https rather than http you might need to look at the routing of whatever httpd you are using.
Allan