MythWeb Streaming Error

My MythWeb had stopped streaming the recorded programmes through VLC.

The error I found was:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/2.2.14 (Debian) Server at 192.168.1.1 Port 80

I reviewed the Apache error log found at:

tail -f /var/log/apache2/error.log

an example of the error which this log was recording is given below:

[Wed Dec 16 18:15:33 2009] [error] [client 192.168.1.1] (13)Permission denied: exec of '/var/www/mythweb/mythweb.pl' failed, referer: http://192.168.1.1/mythweb/tv/recorded
[Wed Dec 16 18:15:33 2009] [error] [client 192.168.1.1] Premature end of script headers: mythweb.pl, referer: http://192.168.1.1/mythweb/tv/recorded

I reviewed the permissions of the file referenced above:

ls -Al /var/www/mythweb/mythweb.pl

-rw-r–r– 1 root root 2990 2009-11-30 09:25 /var/www/mythweb/mythweb.pl

Changing the permissions to 655 from 744 resolved the issue, I was subsequently able to stream MythWeb media.

chmod 655 /var/www/mythweb/mytheweb.pl

Thus giving the following:

-rwxr-xr-x 1 root root 2990 2009-11-30 09:25 /var/www/mythweb/mythweb.pl