473,569 Members | 3,035 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

mod_python and zope

I will be running zope, and I would also like to run mod_python. The problem
arised when zope wants a threaded version of python and mod_python wants
no_threads.

I've been searching the mod_python site for pointers on how to install two
instances of python, then configuring mod_python to use the non-thread
instance. Haven't found anything yet.

I'd appreciate any pointers the group may have as to how to install two
pythons on the system -- and freely switch between a threaded and non-threaded
version. I know I can do this with pythonpath or/and python home but I'm not
really good at experimenting without destroying things.

--
David Bear
phone: 480-965-8257
fax: 480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
"Beware the IP portfolio, everyone will be suspect of trespassing"
Jul 18 '05 #1
1 1275

David Bear wrote:
I will be running zope, and I would also like to run mod_python. The problem arised when zope wants a threaded version of python and mod_python wants no_threads.


Threads work fine with mod_python. What makes you think they don't?
What
versions of Apache/Python/mod_python are you attempting to use?

Although threads work okay with mod_python, there are a couple of
patches
you might want to look at applying to mod_python if you intend using a
multithreaded MPM. Details of these can be found at:

http://www.dscpl.com.au/projects/vampire/patches.html

BTW, for discussion of mod_python issues, the mod_python mailing list
might
be a better place.

http://mailman.modpython.org/mailman...nfo/mod_python

Graham

Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3249
by: Bowen Chiu | last post by:
Dears: I use a 4KBytes HTML content to do this benchmark, it is just a simple test of python based web server. mod_python with Apache Lifting the server siege... done. Transactions: 4864 hits Availability: 100.00 % Elapsed time: 30.43 secs
3
1746
by: flab ba | last post by:
Hello: I am new to web app programming, but need to create a web app. I would like to do it in Python After extensive googling, reading news groups, blogs, and outdated / incomplete "web app shoot outs" that don't seem to come to any conclusion, I came across a number of alternatives, but my limited knowledge in this field prevents me...
7
1846
by: Tony Ha | last post by:
Hello Can some one explain what are the differences between "plone" and "Apache + mod_python"? From plone.org. It says "Plone is powerful and flexible. It is ideal as an intranet and extranet server" does this mean if I use "plone" I do not need to install "Apache + mod_python"? Thanks in advance!
6
1383
by: Damjan | last post by:
Apache2 comes with builtin Web-dav support, but authorization is limited to Apache's methods, which are not very flexible. Now I've been thinking that it might be pretty easy to implement a authorization layer with mod_python (but living handling of the web-dav protocol to apache)... So, has anyone already done something similar? A...
0
7703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8138
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7681
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7983
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6290
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5228
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2118
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1229
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.