Forum Discussion
Altera_Forum
Honored Contributor
21 years agoCGI
hi, i 've read that the httpserver within Ecos supports CGI. How to use CGI in httpserver? In other webserver with CGI support the executeable cgi file has to be located in a director...
Altera_Forum
Honored Contributor
21 years agoDocumentation on how to use the eCos web server can be found in eCos reference manual. This is installed along with the rest of eCos. Alternatively, you can find a copy here (http://ecos.sourceware.org/docs-latest/ref/net-httpd-chapter.html).
The section "Server Organisation" explains how to associate a function with a filename within the server. Subsequent sections explain how you can generate HTML content. This is not strictly CGI, but it achieves the same thing.