Yun shield and running cgi scripts

I'm trying to run cgi scripts from a web browser so I can plot RRD files.

I placed a simple program into the cgi-bin directory and try to run it from the web browser by typing;
/cgi-bin/rrd.cgi

It gives me the following error;
Unable to launch the requested CGI program:
/www/cgi-bin/rrd.cgi: No such file or directory

I can see that the luci cgi script is in the directory and it can run. I've made the rrd.cgi executable.

Below is the script I'm trying to run. rrdcgi is in the bin directory and I a know how to produce the png files with rrdtool and display them on a web page but I'd rather have the cgi options so I can change the time range on the web page that I want to view.

Is this some other permissions issue?

#!/usr/bin/rrdcgi

Temperature Data

Welcome, Temperature Data

<RRD::GRAPH /mnt/sda1/arduino/www/Data.png --width=780 --height 240 --slope-mode --start -3d --end now --vertical-label "Temperature (°F)" DEF:Temp1_01=/mnt/sda1/arduino/Data/TempData.rrd:Temp1_01:MAX LINE1:Temp1_01#30fc30:"Temp1_01"

Did you install /usr/bin/rrdcgi?

Yes, rrdcgi is in the bin directory.

Did you assign permission in the /etc/config/uhttpd configuration file?

Jesse

No I did not assign the permission.
I can see this file, not sure what gets added. I'll have to research this some.

ottsm:
No I did not assign the permission.
I can see this file, not sure what gets added. I'll have to research this some.

Sorry for the late reply. I'm working on a project that is keeping me busy.

You want to check the Linux file permission. You can check the Openwrt website for details on how to setup the webserver. Google the website for "uhttp config". I presume you know how to google a specific website.

Jesse