|
I have no experience compiling code other than using Visual Studio's Build command. I am hoping we can create a step by step guide for compiling mod_python on windows. Please be as descriptive as possible.
This is what I've done so far:
Download and install...
Started by John on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
In mod_python\dist\setup.py.in edit line 171 from: ext_modules ....
A Windows build script for mod_python that builds two products, mod_python itself and "PSP", which stands, so I disabled it in the build script.
|
|
The host I'm considering for hosting a Django site has mod_python installed, but does not have Django. Django's INSTALL file indicates that I can simply copy the django directory to Python's site-packages directory to install Django, so I suspect that...
Started by Kyle Cronin on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
It was never intended.
You're using mod_python wrong.
To httpd.conf in order to use Django with mod_python, and this is not going to change, so you may use the PythonPath directive in .htaccess .
|
|
I have asked our hosting provider to add mod_python to our httpd server. The server appears to be in an hsphere cluster and they appear to use yum to administer it. He is reporting some dependencies missing and I do't quite understand how that could have...
Started by Simon on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
All we.
We have mod_python 3.3 running on Apache 2.2 on a CentOS (forgot the version).
mod_python .
|
Ask your Facebook Friends
|
Why mod_python is oop but php module is not ?
Example :We go to www.example.com/dir1/dir2
*if you use mod_python apache opens www/dir1.py and calls dir2 method*
but if you use php module apache opens www/dir1/dir2/index.php
NOTE:if there is any typo error...
Started by Oguz on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
As far as I see, the....
It all.
Note the mod_python behavior is not forcibly "the best".
.)
See Class and Objects in PHP 5
Because mod_python is abstracting the URL into a "RPC-like there are prepackaged pear modules for this.
|
|
Hi,
Just installed and configured mod_python 3.2.8 on a CentOS 5 (Apache 2.2.3) server with Python 2.4.3. It is loaded fine by Apache.
I activated the mpinfo test page and it works. So I wrote a simple "Hello World" with the following code:
from mod_python...
Started by Christoffer on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
mod_python is more suited to writing apache extensions, not web applications.
A common mistake is to take mod_python as " mod_php , but for python " and that is not true .
Don't use mod_python .
|
|
I'm doing some introductory work with django which seems really easy (and fun) so far but I have been doing all this from Python 2.6 which I installed in /opt/local (RedHat 5.3) because the python that came with redhat was 2.4. I set up a symlink:
/usr...
Started by puddingfox on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Mod_wsgi is the recommended....
Don't use mod_python any more.
Since mod_python loads python as a library the version is fixed at compile time.
You would have to rebuild mod_python against your python2.6 installation.
|
|
I'm randomly getting 500 server errors and trying to diagnose the problem. The setup is:
Apache + mod_python + Django
My 500.html page is being served by Django, but I have no clue what is causing the error. My Apache access.log and error.log files don...
Started by Andrew C on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Is this a production set up?
If not you.
There is any separate log for mod_python or python itself.
|
|
My website is written in Python and currently runs under mod_python with Apache. Lately I've had to put in a few ugly hacks that make me think it might be worth converting the site to mod_wsgi. But I've gotten used to using some of mod_python's utility...
Started by David on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Please look at whiff -- it provides built in functionality for manipulating field data and sessions... .
You will probably be pleased with the results of imposing the WSGI world-view on your application .
You may have to do some rewriting.
Look at Werkzeug.
|
|
I'm trying to get mod-python to work with apache2 but not having any success. I've followed a few tutorials for getting mod-python working but I can't see what I'm doing wrong.
When I visit http://site.example.com/cgi-bin/test.py I actually get my 404...
Started by Tom Viner on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
(Theoretically you should/python/> Order allow,deny Allow from all AddHandler mod_python .py PythonHandler mod, but the above will give you a basic....
Python files that get loaded with mod_python are not CGI scripts.
Scripts.
|
|
I'm having an issue with mod_python and Apache, and I'm pretty certain I know what the problem is, but I'd like a bit of reassurance. I currently have a situation where I'm working with a very small VM with just 256M of RAM. Now MySQL and Apache run fairly...
Started by f4nt on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
mod_python is a bit obsolete, since introduction.
The options in this file by running sysctl -p).
|