mod-python
How can I configure Apache2/mod_python/Django to abort request processing after N seconds?
I recently spent a long while debugging something that turned out to be an infinite loop bug in my own code. Since I can\'t guarantee I\'ll never make that sort of mistake again, how can I conf开发者_[详细]
2022-12-15 14:19 分类:问答How to make read-only data accessible by diff requests while the server is running (apache, mod_python)
I am using Apache/2.2.8 (Ubuntu) mod_python/3.3.1 Python/2.5.2 and I would like 开发者_如何学编程to preload the data I work with.[详细]
2022-12-14 23:13 分类:问答How to call main() of a python script with arguments from mod_python.publisher?
I use a mod_python publisher function which calls the main() function of another python script with a custom built argv list. When I execute the publisher script from shell command line it works. But[详细]
2022-12-14 10:15 分类:问答Django mod_python deployment error
I\'m trying to deploy a django project via mod_python and I keep getti开发者_如何转开发ng an error saying a handler module is missing.[详细]
2022-12-14 00:51 分类:问答mod_python is not loading stackless Python
I have setup an Apache2 mod_python environment with stackless Python and it is working. And When I test the Python environment with sys.version, it shows[详细]
2022-12-13 08:35 分类:问答Browser Detection Python / mod_python?
I want to keep some statistics about users and locations in a database. For instance, I would like to store \"Mozilla\",\"Firefox\",\"Safari\",\"Chrome\",\"IE\", etc... as well as the versions, and po[详细]
2022-12-10 13:57 分类:问答mod_python req.subprocess_env not "seeing" PythonOptions
I\'m having trouble getting an environmental variable out of apache开发者_如何学Python config. (don\'t ask why it\'s being done this way, I didn\'t originally code it)[详细]
2022-12-10 12:58 分类:问答psycopg2 and mod_python import error
I am trying to setup roundup on a windows XP machine. I use psycopg2 v2.0.13 and when i import the psycopg2 module from the shell it all works fine, but when mod_python tries to do it, I get this erro[详细]
2022-12-09 17:37 分类:问答Setting mod_python's interperter
I have mod_python installed on a debian box with python 2.4 and 2.6 installed. I want mod_python to use 2.6 but it is finding 2.4. How can set it to use the other version. 开发者_运维问答The version o[详细]
2022-12-09 15:52 分类:问答Installing mod_python on Snow Leopard
I\'d rather not use Macports. Simply cause Macport replaces (installs another Apache in /opt/local/bin) the default installation of Apache. And that would mean having ports install/replace PHP too. I\[详细]
2022-12-09 13:38 分类:问答