Hi
Thanks to recent help from Alan Gauld and Felix Dietrich I have studied the
'classic Linux ' permissions
to allow an Apache cgi script to connect to a Python Socket.
Though I became convinced that the corrected permissions were correct the
Python cgi script still would not work when
called
From: Alan Gauld
To: Stewart Lawton ; tutor
Sent: Tuesday, 12 May 2015, 20:01
Subject: Re: my membership and access to the Tutor list
Forwarding to the list for comment.
Always use Reply All9Or Reply List if your mailer supports it)
when including the list members.
Alan G
On 12
or from another device connected to the router.
Please find the myUnix2.cgi socket script below. Help appreciated! Regards,
Stewart Lawton
#!/usr/bin/envpython
import cgi
import socket
import sys
defhtmlTop():
print("""Content-type:text/html\n\n