Re: Unable to execute the script

2012-08-11 Thread Hans Mulder
On 11/08/12 00:48:38, Dennis Lee Bieber wrote: > On Fri, 10 Aug 2012 12:35:06 -0700, Smaran Harihar > declaimed the following in > gmane.comp.python.general: > >> Hi Tim, >> >> this is the output for the ls -lsF filename >> >> 8 -rwxr-xr-x 1 root root 5227 Jul 30 13:54 iplantgeo_cgi.py* >> >

Re: Unable to execute the script

2012-08-10 Thread Dave Angel
You posted privately to me, so I'm sending it back to the list. Don't forget to do reply-all, or equivalent. On 08/10/2012 02:44 PM, Smaran Harihar wrote: > Is the location of this script acceptable to your web host? > > How can I check that? By asking your web host tech support, or reading the

Re: Unable to execute the script

2012-08-10 Thread Smaran Harihar
Hi Tim, this is the output for the ls -lsF filename 8 -rwxr-xr-x 1 root root 5227 Jul 30 13:54 iplantgeo_cgi.py* On Fri, Aug 10, 2012 at 12:20 PM, Tim Chase wrote: > On 08/10/12 14:14, Smaran Harihar wrote: > > If you mean chmod +x > > > > then yes it has been set. > > I'm not sure how Ubuntu

Re: Unable to execute the script

2012-08-10 Thread Dan Stromberg
This sounds like a ScriptAlias thing: http://httpd.apache.org/docs/2.2/howto/cgi.html On Fri, Aug 10, 2012 at 5:14 PM, Smaran Harihar wrote: > Hi, > > I have set executable permissions for my py script (cgi-script) but for > some reason rather than executing it, the browser simply downloads the p

Re: Unable to execute the script

2012-08-10 Thread Tim Chase
On 08/10/12 14:14, Smaran Harihar wrote: > If you mean chmod +x > > then yes it has been set. I'm not sure how Ubuntu defaults if you don't specify *who* should receive those +x permissions. I'd make sure they've been set for everybody: $ chmod ugo+x myfile.py You can check this by doing an

Re: Unable to execute the script

2012-08-10 Thread Smaran Harihar
The file is on Ubuntu Server 12.04 and not sure how to set the executable bits? If you mean chmod +x then yes it has been set. On Fri, Aug 10, 2012 at 12:10 PM, Tim Chase wrote: > On 08/10/12 13:38, Dave Angel wrote: > > On 08/10/2012 01:14 PM, Smaran Harihar wrote: > >> Hi, > >> > >> I have s

Re: Unable to execute the script

2012-08-10 Thread Tim Chase
On 08/10/12 13:38, Dave Angel wrote: > On 08/10/2012 01:14 PM, Smaran Harihar wrote: >> Hi, >> >> I have set executable permissions for my py script (cgi-script) but for >> some reason rather than executing it, the browser simply downloads the py >> script. >> >> Here is the >> link

Re: Unable to execute the script

2012-08-10 Thread Dave Angel
On 08/10/2012 01:14 PM, Smaran Harihar wrote: > Hi, > > I have set executable permissions for my py script (cgi-script) but for > some reason rather than executing it, the browser simply downloads the py > script. > > Here is the > link