On 20.02.2018 08:15, Giuseppe Modugno wrote:
I think this isn't strictly related to lwip, but it's a request typical
on electronic devices where lwip runs, i.e. devices with limited and
restricted resources.
It is somewhat related to lwIP as you have to know how to create dynamic
content. That depends on the webserver.
[..]
Depending on this variable, the URI of some static files should be:
/img/big_image.png
or
external.webserver.org/img/big_image.png
Any suggestions?
Yes. If you use lwip's integrated httpd, that is.
You can use SSI to generate the different links. In the lwIP http
server, SSI works everywhere in the page, even in a form or in a link
element. You only have to set LWIP_HTTPD_SSI_INCLUDE_TAG to 0. If this
is 1, the tag part of the html source file gets included in the
resulting page and that might violate the html code.
Simon
_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users