<br>This sounds like a ScriptAlias thing:<br><a href="http://httpd.apache.org/docs/2.2/howto/cgi.html">http://httpd.apache.org/docs/2.2/howto/cgi.html</a><br><br><div class="gmail_quote">On Fri, Aug 10, 2012 at 5:14 PM, Smaran Harihar <span dir="ltr"><<a href="mailto:smaran.harihar@gmail.com" target="_blank">smaran.harihar@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div>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.</div>
<div><br></div><div>Here is the <a href="http://128.196.142.94/geo/iplantgeo_cgi.py?get=env&from=latlon&lat=42,45,54&lon=-123,-65,-100" target="_blank">link</a>. Before it was working on another server. I migrated it to this new domain and it is having this issue. Where am I going wrong?</div>
<span class="HOEnZb"><font color="#888888">
<div><div><br></div>-- <br>Thanks & Regards<div>Smaran Harihar</div><br>
</div>
</font></span><br>--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
<br></blockquote></div><br>