Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Python for web...

Thread Tools

Python for web...

Tim Chase
Posts: n/a
> I didn't have any trouble setting up mod_python & Django. However, I
> am my own hosting provider. That may make a difference.
> I can install fastcgi if it's a big win.

From my understanding, the python-code under mod_python runs as
whatever Apaches runs as ("www", "wwwdata", whatever). If this
doesn't matter in your deployment, then there's little reason to
do anything other than stick with what you know.

The advantage of fastcgi (again, from my feeble understanding) is
that the fastcgi process (your python code) runs as a designated
user. This allows hosting companies to have your code run as
you, Pat's code run as Pat, etc. This makes separation of privs
a little easier so Pat's code doesn't screw up things your
environment, and your code doesn't screw up Pat's. Nothing
should really stop you from running your code as "www"/"wwwdata"
which would simulate the mod_python environment somewhat.

It's up to you to decide the magnitude of this "big" win


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: [Python-Dev] [python-committers] [RELEASED] Python 3.2 rc 1 R. David Murray Python 0 01-17-2011 02:23 PM
Re: [Python-Dev] [python-committers] [RELEASED] Python 3.2 rc 1 Senthil Kumaran Python 0 01-17-2011 10:31 AM
Re: [Python-Dev] [Python-3000] RELEASED Python 2.6a1 and 3.0a3 Martin v. L÷wis Python 0 03-01-2008 10:51 PM
Re: [Python-Dev] [Python-3000] RELEASED Python 2.6a1 and 3.0a3 Paul Moore Python 0 03-01-2008 10:39 PM
Searching comp.lang.python/ (was: UTF-8) Python 0 03-10-2007 02:50 PM