473,396 Members | 1,940 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Mod_python on Windows Troubles

Hi,

I realize that this is somewhat vague, but I'm not really sure what to
do next. I'm trying to get Apache and mod_python set up on my windows
XP box for testing purposes. I installed the Apache 2.0.48 windows
binaries using the Apache installer, tested it and it worked fine. I
then installed the mod_python 3.0.4 windows binaries using the installer
which correctly found my ActiveState Python 2.2 installation and the
aforementioned Apache installation. I tested Apache again, and it
loaded fine. However, when I add the line "LoadModule python_module
modules/mod_python.so" to httpd.conf, the Apache service refuses to
start with the following error: "Cannot load C:/Program Files/Apache
Group/Apache2/modules/mod_python.so into server: The specified module
could not be found." Any help would be greatly appreciated.

Regards,
Dan

Jul 18 '05 #1
2 3813
modules/mod_python.so" to httpd.conf, the Apache service refuses to
start with the following error: "Cannot load C:/Program Files/Apache
Group/Apache2/modules/mod_python.so into server: The specified module


While I'm not using Apache or mod_python, I would be willing to bet that
your error is the result of using 'mod_python.so' in Windows. Try
'mod_python.dll' instead.

- Josiah
Jul 18 '05 #2
No problem with *.so. My config: Windows XP, Apache 2.0.47 (Win32) mod_python/3.1.2b Python/2.3.2
mod_python.so 3.1.1b (hmm... it reports 3.1.2b but the file's version says 3.1.1b) is 114,688 bytes
The error message means probably that your mod_python.so and your
%SystemRoot%\system32\python22.dll or python23.dll files are not compatible.

Georgy
"Josiah Carlson" <jc******@nospam.uci.edu> wrote in message news:bv**********@news.service.uci.edu...
|
| > modules/mod_python.so" to httpd.conf, the Apache service refuses to
| > start with the following error: "Cannot load C:/Program Files/Apache
| > Group/Apache2/modules/mod_python.so into server: The specified module
|
| While I'm not using Apache or mod_python, I would be willing to bet that
| your error is the result of using 'mod_python.so' in Windows. Try
| 'mod_python.dll' instead.
|
| - Josiah
Jul 18 '05 #3

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

Similar topics

1
by: wolf | last post by:
i would like to briefly share my experiences with installing mod_python on a w2000 box. i must say that i believe the installation process to be unnecessarily complicated by the simple fact that...
6
by: Piet | last post by:
Hi there, I cannot install mod_python v3.1.3 on either Win2k/ActivePython 2.3.2 or WinMe/Python 2.3.4. When I run the Windows installer, I get the following error message: Traceback (most recent...
2
by: Robert J. Hansen | last post by:
I'm not entirely certain comp.lang.python is the proper newsgroup for mod_python questions, but "comp.lang.python.web" doesn't seem to exist, so... my apologies in advance if this is considered...
1
by: treelife | last post by:
I'm getting and internal server error when | run the following mod_python script. I am actually trying to run Django. Script: from mod_python import apache def handler(req):...
4
by: Gaurav Agarwal | last post by:
Hi, Am using WAMP5 and python 2.4.3. I tried to install mod_python 3.2.5 for python2.4. When i tried starting wamp, Firstly there was no error message in the apache error log. I saw error...
1
by: boney | last post by:
hello All, I am totally unknown to python language.. i need to install mod_python to embed python interpreter with the Apache server, in order to use Trac with Apache Web Server i am using...
5
by: m.banaouas | last post by:
Hi, bonjour, witch versions are suitable to use for apache & mod_python ? Can i install and use "Apache 2.2.3" & "mod_python 3.2.10" (most recent versions) without facing any known major...
1
by: NccWarp9 | last post by:
Hello, im using Apache HTTPD 2.2.8 with mod_python/3.3.1 Python/2.4.3 on Windows and having truble starting pythone, any help would be appreciated .. Im getting this error: ...
1
by: jpuopolo | last post by:
Hi, all... I am hoping that someone can help me with the magic incantation to get mod_python working on my local machine. Set up: Apache 2.2.9, mod_python 3.3.1 on Windows Vista (yes, pity...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...
0
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...
0
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...

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.