TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: A. DUMAS
from: DRUCK
date: 2018-02-02 19:51:00
subject: Re: How to enable cgi scr

On 01/02/2018 14:16, A. Dumas wrote:
> On 01/02/2018 12:38, Bengt Törnqvist wrote:
>> One goal is to, via buttons in a browser html form), switch on and of
>> equipment connected to a Rasberrypi in a remote room.
> Simply have the server side script (cgi, python, php, whatever works on 
> your web server) call the "gpio" program. See "man gpio".

If you are familiar with twiddling gpio from Python, you use that for 
both the I/O and generating HTML. To be able to run python scripts in 
cgi-bin you need to install uwsgi.

---druck

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.