Got Python web host, yay! Now what?

Sheila King sheila at spamcop.net
Thu Aug 21 14:19:56 EDT 2003


On Thu, 21 Aug 2003 16:47:07 GMT, "Robert Oschler"
<no_replies at fake_email_address.invalid> wrote in comp.lang.python in
article <fI61b.13939$2Y6.4363673 at news2.news.adelphia.net>:

> I found a good web host that has Python 2.x support and I've set up an
> account.  It's LunarPages.com if you're interested .  Do I have to do
> anything special to run Python scripts, besides upload the script to the
> cgi-bin directory?  If so, please direct me to a good web page or doc that
> goes into the necessary details.
> 
> thx

This will depend on the set up that your web host provides.

On the server where I host, I simply upload my scripts to cgi-bin and they
run.

However, I recently helped someone set up a script on a different server,
and after a couple of hours of tearing our hair out, we found out that on
that server, all scripts had to be renamed to have a .cgi extension, or
they would not run. (I've usually run my scripts with a .py extension.)

So, you should check with your host to find out what requirements they may
have for running cgi scripts.

-- 
Sheila King
http://www.thinkspot.net/sheila/
http://www.k12groups.org/





More information about the Python-list mailing list