About This Server
This is the Nios Ethernet Development Kit
example web server. It uses the plugs library
to accept incoming HTTP connections on port
80. This simple web server can serve 4 different
kinds of pages.
- Static Pages. The page is served directly from flash memory.
(GIF images can also be served from flash memory.)
- Template Pages. The page is retrieved from flash memory, and
code in the server replaces each occurence of %s with some new value.
- Dynamic Pages. The page is generated entirely by code
in the server.
- 404 Error Page. If none of the previous three pages can
be served for a particular URL, then an error page is generated.
Example of Each Kind of Page
A Static Page
A Static GIF Image
A Template Page
A Dynamic Page
A Bad Link
|