Thank you, that sounds right. But... I have added the "nobody" id and the "apache" id to the group "audio" which owns /dev/audio (which is a link to /dev/sound/audio, which is owned by root.) But it seems to make no difference. I can play my script from the command line, either locally or through ssh, but not through a web form. (useless web form below). mplayer is running, I can see the feedback on the web browser, but no sound.
<html>
<head>
<title>
Test file
</title>
</head>
<body>
<h1>Test file</h1>
<p>test data
<form action="/cgi-bin/PlayPod.pl">
<input type="submit" value="play pod">
</form>
</body>
</html>
|