Sweex website structure notes.
On the LAN typing 192.168.0.3 in a browser window brings up this page
var/www/index.html which resides on the USB
memory stick
The hyperlinks on this page could link to other standard passive web pages
on the memory stick but in this case they link to active pages of structure
similar to var/www/cgi-bin/rs232ws/index.cgi
index.cgi loads var/www/rs232ws/start.html
as the top of the displayed page and the links on that page all re-invoke
index.cgi and pass it a string..
index.cgi then runs linux shell scripts that
may themseves run c code programs.
index.cgi then reloads it's partner page
start.html and then adds text that is the
result of actions by the scripts.Finally index.cgi
adds the necessary html code to close start.html properly
A click on another link reloads the page again - and so on.
Partner files
index.html - - index.cgi - - - start.html
index.html - - buggy2.cgi - - buggy2.html
index.html - - buggy1.cgi - - buggy1.html
(it is a historical accident that there are two rs232ws
folders var/www/rs232ws and var/www/cgi-bin/rs232ws)
|