Forum Discussion
Altera_Forum
Honored Contributor
21 years agoEmbedded webserver w/Scripting
Hi - I'm looking at implementing a simple webserver with some ultra-simple server-side scripting/macro-expansion. The webserver 'example' that's programmed into the NIOS evaluation board must support some of this to display mac addresses and IP addresses, but there's no source for it in the SDK.
The "webserver" project within the SDK has absolutely no scripting support... Using something like the 'goahead' webserver may be a bit of overkill, especially given the ucos limitations.... Any suggestions? - Roddy2 Replies
- Altera_Forum
Honored Contributor
I'll post the modified http server source tomorrow... look for it in the 'post your ip' section. We just implemented a simple token-parsing method that replaces strings (of a known length, that matches, say, an ip address), with the actual address in use by the system. It isn't very powerful given that limitation... but it does allow the server to parse things on the fly as its sending packets down the wire.
- Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by jesse@Nov 2 2004, 07:37 PM i'll post the modified http server source tomorrow... look for it in the 'post your ip' section.we just implemented a simple token-parsing method that replaces strings (of a known length, that matches, say, an ip address), with the actual address in use by the system. --- Quote End --- Thanks - I'd appreciate that. I had a feeling that maintaining the "Content-Length" header was going to be the awkward part! - Roddy