This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Using HTTP-Server from TCPnet with flashfilesystem

Hello,

I want to use the HTTP-Webserver with the flashfilesystem of the Realview RTL. The webserver should read all files from the flashfilesystem. Therefore I added the http_uif.c file to the project.

I can retrieve normal *.htm files with the help of the webbrowser, but any dynamic content like CGI-Files are not accessible by the webserver. When I doubleklick on a link to a CGI-File, I see the file not found page. At the same moment the output of the debug version of RTL libary states "HTTP_ERR: File not found, session 0".

I already added some additional debug outputs to the http_uif.c file to see which files are opened by the HTTP-Server. So I recognized that the HTML- and GIF-Files are open through the interface provided by http_uif.c, but the CGI-files aren't.

Whats the reason for this?
Is there an option to change this behavior?

I'm using RL-ARM 3.10 RL-MDK 3.11.

Rainer

0