Search Results
Search results 1-4 of 4.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
OK. I could fix it. In server thread I got to register FileInfo callback routine before creating Process. IP_WEBS_SetFileInfoCallback(_pfGetFileInfo) IP_WEBS_Process(_Send, _Recv, Context, _pFS_API, ...... Then I got to specify definition for "WEBS_PARA_BUFFER_SIZE" in WEBS_Conf.h #define WEBS_PARA_BUFFER_SIZE 128 These two changes were missing. Execution of CGI scripts as virtual files works with these changes.
-
I am looking for an example of IP/ webserver to execute CGI script. I downloaded example for windows. I changed definition for WEBS_Application to accept additional argument for virtual files. C Source Code (1 line) Also added definition for virtual files C Source Code (1 line) Then in WebServer_Win32.c I added definition for Send handler and updated application C Source Code (5 lines) With this when I call localhost:8080/Send.cgi?FirstName=Sriharsha&LastName=Vardhan , I am getting Not Found The…