We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all, I'm using RL-TCPNet HTTP embedded web server for developing a data publishing application. The "site" requires static (htm) and dynamic (cgi) pages, together with resources like images, javascripts and css.
I can successfully deploy the site by compiling-in pages with FCARM and the resulting web.c module.
Project contraints force me to explore a different approach now. I need to strip off the pages from the application code and store them on an external flash device.
I implemented a minimal access to pages stored on flash by redefining the interfaces for http_fopen(), http_fclose() and http_fread() in http_uif.c module and including it in the project (while removing web.c). It seems to work ok for static pages and images, but, as far as I can see, these functions are not called by the http server when client requires a cgi file and this kind of resources are still looked for as statically linked to the code, resulting in a HTTP 404 error to the client.
Is there any configuration I miss to make http server ALWAYS use my file interface functions? If not, does anybody there have an idea how I can keep storing web resources in flash and make the http server access them. At moment RL-FlashFS is preferrably not an option.
TIA Andrea
Are there any plans in changing this. We have bought the Keil compiler and library and need to place a 'complete' website on an SD card. This includes the CGI scripts.
We are now not able to do this, despite the 7000 EURO we have spent.