I am using cppcms ver 1.2, and want to include external css and js files But I get a 404 error for them, even though the files exist in the media folder in my root folder of the app.
I tried copying the media folder manually to the CMakeFiles folder and infact tried by copying it to all subfolders there. But that didnt work also.
Still keep getting a 404 error for localhost:8080/media/style.css or any of the other css or js files.
What is the document root of the cppcms, and if it is the root folder where the code is, then why isnt it able to read them?
My code is modelled on the examples/message_board sample. Thats also shows a 404 for media/style.css file.
Any help would be appreciated.
Anonymous