[nSLUG] January 5th meeting

Dave Flogeras dflogeras2 at gmail.com
Sun Jan 4 13:55:41 AST 2015


On Sun, Jan 4, 2015 at 11:36 AM, Frank Geitzler
<frank.geitzler at ns.sympatico.ca> wrote:
> filename "cgi-bin/generate_list.py" is displayed when the mouse hovers
> over the proper selection area, but when that area is selected, rather
> than invoking generate_list.py, gedit is invoked and it attempts to
> display the contemts of that file, but appears unable to locate it.  The

My best guess is that your server (apache/nginx/whatever) does not
have python cgi support enabled/installed.  Instead of parsing and
running your script, it is just serving it verbatim, then firefox is
opening it in the default editor.

Check your distro documentation for enabling python support on
whatever server you use.  It's probably some combination of either
installing a package and/or editing your server's config file(s) to
enable it.

HTH
d


More information about the nSLUG mailing list