[Tutor] Apache cgi Python Sockets classic Linux permissions and SELinux under Fedora19

2015-05-18 Thread Stewart Lawton
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

Re: [Tutor] Permissions between Apache, Python cgi scripts and Unix Sockets

2015-05-13 Thread Stewart Lawton
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

[Tutor] apache python cgi sockets error 13 (resend after joining the tutorial list)

2015-05-07 Thread Stewart Lawton
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