Back | << | Index | >> |
A few illustrated reminds about simple dynamic http server.
For complete explanations, please have a look at : https://www.enib.fr/~harrouet
REM : think about making the CGI file executable (chmod +x).
|
Here we are in the RPI Terminal.
The following lines should be written in a bash script and recorded in /etc/profile.d to be executed on RPI startup.
Once config done, try :
The executed script is a bash one ; another example can be done with a lua script ( in www/cgi )
|
|
Previously we were obliged to download the whole page.
The ajax-way permits to refresh only a part of this page after a client request.
|
|
Back | << | Index | >> |