NewtownGuy
Technical User
Hello,
From feedback on the perl forum, and from an error message in /etc/log/httpd/error_log, it is clear that I don't have permissions set correctly for anonymous users of Apache 2 to write some debug info to a test file and to write some real data to /dev/ttyS0. I'm running Fedora Core 3.
I have a perl script in /var/ The script is activated by a browser on the Internet. I want the script to be able to write to /var/ for debugging, and to /dev/ttyS0 to do what I really want to do, which is to output a byte string to a robot via a COM port. There currently is no file name for the string that gets written to /dev/ttyS0, although I have the usual OPEN statement as a file handle.
I see in /etc/httpd/conf/httpd.conf that the default User is apache and the default group is apache. I don't know if this is relevant or not, or how to use it.
At boot time, what command(s) do I need to give, and in what file do I need to place them, so that anyone who anonymously accesses my script remotely can write a test file and can write a string to /dev/ttyS0 ?
Thank you.
-- NewtownGuy
From feedback on the perl forum, and from an error message in /etc/log/httpd/error_log, it is clear that I don't have permissions set correctly for anonymous users of Apache 2 to write some debug info to a test file and to write some real data to /dev/ttyS0. I'm running Fedora Core 3.
I have a perl script in /var/ The script is activated by a browser on the Internet. I want the script to be able to write to /var/ for debugging, and to /dev/ttyS0 to do what I really want to do, which is to output a byte string to a robot via a COM port. There currently is no file name for the string that gets written to /dev/ttyS0, although I have the usual OPEN statement as a file handle.
I see in /etc/httpd/conf/httpd.conf that the default User is apache and the default group is apache. I don't know if this is relevant or not, or how to use it.
At boot time, what command(s) do I need to give, and in what file do I need to place them, so that anyone who anonymously accesses my script remotely can write a test file and can write a string to /dev/ttyS0 ?
Thank you.
-- NewtownGuy