[newbie] mod_python apache w32

Donald Lessau nc-lessaudo at netcologne.de
Wed Sep 25 11:11:14 CEST 2002


hi christopher,

i've got exactly the same problem... Did you find a solution in the
meantime?

thanks
Donald

"christopher knievel" <ch_knievel at gmx.de> schrieb im Newsbeitrag
news:ami5rr$des$04$1 at news.t-online.com...
> Hi all,
> i got some problems running mod_python with apache under windows.
> I am using python 2.2 and apache 1.3.26.
> As written in the manual i configured httpd.conf like this:
>
> LoadModule python_module modules/mod_python.dll
>
> AddModule mod_python.c
>
> <Directory "C:/Programme/Apache Group/Apache/python">
>   AddHandler python-program .py
>   PythonHandler mptest
>   PythonDebug on
> </Directory>
>
> I copied the mod_python.dll to C:/Python22/lib/mod_python.
>
> The Apache server is starting with "Apache/1.3.26 (Win32) mod_python/2.7.6
> Python/2.2.1 running..."
> So i guess it should be working....
>
> The test script looks like this:
>
> #! C:/Python22/python.exe
>
> from mod_python import apache
>
> def handler(req):
>     req.send_http_header()
>     req.write("<html><body>Hello World!</body></html>")
>     return apache.OK
>
> my error.log (last entry):
> [Sat Sep 21 18:00:13 2002] [error] [client 192.168.1.99] python_handler:
> make_obcallback returned no obCallBack!
>
> i've read several newsgroups and googled a lot but i didn't found a
working
> solution
> Thanks a lot in advance...
> christopher knievel
>
>





More information about the Python-list mailing list