By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,822 Members | 1,053 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,822 IT Pros & Developers. It's quick & easy.

Re: Apache2 + Python WITHOUT mod_pytho

P: n/a
pistacchio wrote:
Hi to all!
How can i configure apache2 so that it processes all .py files with
python _without_ using mod_python?
I'm on Ubuntu 8.4.
I have no idea about how to do that in Ubuntu.

Use fcgi or wsgi for your Python scripts. There should be recipes around for your distribution.

--
Jorge Godoy <jg****@gmail.com>

Jun 27 '08 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Jorge Godoy wrote:
pistacchio wrote:
>Hi to all!
How can i configure apache2 so that it processes all .py files with
python _without_ using mod_python?
I'm on Ubuntu 8.4.

I have no idea about how to do that in Ubuntu.

Use fcgi or wsgi for your Python scripts. There should be recipes around for your distribution.
Note that if you use FCGI, don't put your FCGI scripts in a directory
enabled for CGI. Apache has a bias towards CGI, which is built in,
and will use CGI to run your FCGI scripts. Slowly.

John Nagle
Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.