|
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.
|
|
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 stackoverflow):
You should check this link: http://old.nabble.com/APR_BRIGADE_SENTINEL-macro-causes-compile-error-td20873779.html.
One already exists.
|
|
Which would you recommend? which is faster, reliable? apache mod_python or nginx/lighttpd FastCGI?
Started by daniels on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
The critical reason for me though is that I couldn't see an obvious way to do multiple sites from the same apache / mod_python install to absolutely dwarf ....
Times 'seem' quicker when loading a page that way vs mod___python.
|
Ask your Facebook Friends
|
Anyone know whether it is possible to put mod_python under JBoss like you can Apache HTTPD? Given that JBoss has Tomcat inside it would seem to be a reasonable thing to do.
If not mod_python is there any python support under JBoss which will keep the ...
Started by Simon on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
See here for an example?
Using....
I'm not sure about running mod_perl in JBoss, but here are a couple of approaches you might want to consider:
Enabling CGI You can enable CGI within tomcat .
Have you looked into Jython ? Tomcat is built in Java after all .
|
|
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 .
|
|
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, I have setup a apache2 mod_python environment with stackless python and it is working. And When I test the python environment with sys.version , it shows
2.5.2 Stackless 3.1b3 060516 (python-2.52:76701, Dec 8 2009, 02:13:34) [GCC 4.2.4 (Ubuntu 4.2...
Started by Devasia Joseph on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
mod_python is compiled against a specific version of Python, and will only call that version.
|
|
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.
|