List Info

Thread: mod_python




mod_python
country flaguser name
Canada
2007-08-30 09:46:43
Hi All,

I've installed the Apache webserver 2.2.4 onto a machine. I am trying to get the python mod working for the apache webserver.  I installed mod_python-3.3.1, for windows and I have the correct version of Python installed. I did everything the install asked me to do, when I edited my httpd.conf file for apache I added this line

LoadModule python_module modules/mod_python.so

Where all of the other load modules happen, to be.

So I shut the apache server down and I restarted it when I restart the server I get this error message.

"Cannot load C:/Program Files/Apache Software Foundations/Apache2.2/modules/mod_python.so into server. The specified procedure could not be found.

When I went to the modules directory, under the apache root, the mod_python.so file does exist so I am not sure what the problem is or what the solution is. Any light someone could shed on this would be greatly appreciated.

Regards,
Chris Howell
Software Engineer
the PYXIS innovation - Common Ground for Digital Earth
Kingston, Ontario
w: www.pyxisinnovation.com



Re: mod_python
country flaguser name
China
2007-08-30 10:31:30
-------- Original-Nachricht --------
> Datum: Thu, 30 Aug 2007 10:46:43 -0400
> Von: Chris Howell <chowellpyxisinnovation.com>
> 
> When I went to the modules directory, under the apache
root, the 
> mod_python.so file does exist so I am not sure what the
problem is or 
> what the solution is. Any light someone could shed on
this would be 
> greatly appreciated.
> 

Why mod_python.so is located under apache root dir not
module dir?
You many installed something wrong.
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gm
x.net/de/go/multimessenger

------------------------------------------------------------
---------
The official User-To-User support forum of the Apache HTTP
Server Project.
See <URL:http://htt
pd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
   "   from the digest: users-digest-unsubscribehttpd.apache.org
For additional commands, e-mail: users-helphttpd.apache.org


Re: mod_python
country flaguser name
Canada
2007-08-30 11:01:02
Sorry, what I meant was the directory is like htis

Apache
   Modules
     mod_python.so

It is under the modules dir.

Jeff Peng wrote:
> -------- Original-Nachricht --------
>   
>> Datum: Thu, 30 Aug 2007 10:46:43 -0400
>> Von: Chris Howell <chowellpyxisinnovation.com>
>>
>> When I went to the modules directory, under the
apache root, the 
>> mod_python.so file does exist so I am not sure what
the problem is or 
>> what the solution is. Any light someone could shed
on this would be 
>> greatly appreciated.
>>
>>     
>
> Why mod_python.so is located under apache root dir not
module dir?
> You many installed something wrong.
>   

------------------------------------------------------------
---------
The official User-To-User support forum of the Apache HTTP
Server Project.
See <URL:http://htt
pd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
   "   from the digest: users-digest-unsubscribehttpd.apache.org
For additional commands, e-mail: users-helphttpd.apache.org


Re: mod_python
country flaguser name
China
2007-08-30 11:10:02
-------- Original-Nachricht --------
> Datum: Thu, 30 Aug 2007 12:01:02 -0400
> Von: Chris Howell <chowellpyxisinnovation.com>
> An: usershttpd.apache.org
> Betreff: Re: [usershttpd] mod_python

> Sorry, what I meant was the directory is like htis
> 
> Apache
>    Modules
>      mod_python.so
> 
> It is under the modules dir.
> 

It's hard to say what's the problems only by the info you
provided.
I once installed mod_python with apache2 on Linux,it went
well.
Can you give a try to compile mod_python as apache's static
module rather than DSO method?
-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free
SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/
de/go/freemail

------------------------------------------------------------
---------
The official User-To-User support forum of the Apache HTTP
Server Project.
See <URL:http://htt
pd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
   "   from the digest: users-digest-unsubscribehttpd.apache.org
For additional commands, e-mail: users-helphttpd.apache.org


Re: mod_python
user name
2007-08-30 11:12:07
On 8/30/07, Jeff Peng <jeffpenggmx.net> wrote:

>
> Why mod_python.so is located under apache root dir not
module dir?
> You many installed something wrong.

??

The location that Chris specified in the OP is correct.  It
*is* in
the module directory.

One curious thing though:

'C:/Program Files/Apache Software
Foundations/Apache2.2/modules/'

Foundations?  Plural?  Did you modify the default path?  I
doubt that
it matters since it seems like Apache is able to see the
module, just
not load it.

What version of Python are you using?  Is it from
ActiveState or from
python.org?  I doubt any of that matters, but it doesn't
hurt to know.

-- brian

------------------------------------------------------------
---------
The official User-To-User support forum of the Apache HTTP
Server Project.
See <URL:http://htt
pd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
   "   from the digest: users-digest-unsubscribehttpd.apache.org
For additional commands, e-mail: users-helphttpd.apache.org


Re: mod_python
country flaguser name
Canada
2007-08-30 11:42:08
My mistake there is no "s" it is just Apache Software Foundation//blah!

I download Python 2.5 from Python.org and
the mod_python from.

www.modpython.org

I did not, alter any paths from the default install. So I am very bewildered.

Cheers
Chris




Brian Munroe wrote:
mail.gmail.com" type="cite">
On 8/30/07, Jeff Peng gmx.net">&lt;jeffpenggmx.net>; wrote:

  
Why mod_python.so is located under apache root dir not module dir?
You many installed something wrong.
    

??

The location that Chris specified in the OP is correct.  It *is* in
the module directory.

One curious thing though:


'C:/Program Files/Apache Software Foundations/Apache2.2/modules/'


Foundations?  Plural?  Did you modify the default path?  I doubt that
it matters since it seems like Apache is able to see the module, just
not load it.

What version of Python are you using?  Is it from ActiveState or from
python.org?  I doubt any of that matters, but it doesn't hurt to know.

-- brian

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: httpd.apache.org">users-unsubscribehttpd.apache.org
   "   from the digest: httpd.apache.org">users-digest-unsubscribehttpd.apache.org
For additional commands, e-mail: httpd.apache.org">users-helphttpd.apache.org



  

Re: mod_python
user name
2007-08-30 11:48:56
On 8/30/07, Chris Howell <chowellpyxisinnovation.com>
wrote:

>
> So I am very bewildered.
>

Yea me too, I have the *exact* same configuration and
everything works
perfectly.  Googling tells me that there was some problems
with Apache
2.2 and older versions of mod_python, but not 3.3.1.

The only suggestion I can make is maybe try posting your
problem on
the mod_python list.

sorry!

-- brian

------------------------------------------------------------
---------
The official User-To-User support forum of the Apache HTTP
Server Project.
See <URL:http://htt
pd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
   "   from the digest: users-digest-unsubscribehttpd.apache.org
For additional commands, e-mail: users-helphttpd.apache.org


Re: mod_python
country flaguser name
Canada
2007-08-30 11:51:55
That's what I am going to do.

Brian Munroe wrote:
> On 8/30/07, Chris Howell <chowellpyxisinnovation.com> wrote:
>
>   
>> So I am very bewildered.
>>
>>     
>
> Yea me too, I have the *exact* same configuration and
everything works
> perfectly.  Googling tells me that there was some
problems with Apache
> 2.2 and older versions of mod_python, but not 3.3.1.
>
> The only suggestion I can make is maybe try posting
your problem on
> the mod_python list.
>
> sorry!
>
> -- brian
>
>
------------------------------------------------------------
---------
> The official User-To-User support forum of the Apache
HTTP Server Project.
> See <URL:http://htt
pd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
>    "   from the digest:
users-digest-unsubscribehttpd.apache.org
> For additional commands, e-mail: users-helphttpd.apache.org
>
>
>
>   

------------------------------------------------------------
---------
The official User-To-User support forum of the Apache HTTP
Server Project.
See <URL:http://htt
pd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
   "   from the digest: users-digest-unsubscribehttpd.apache.org
For additional commands, e-mail: users-helphttpd.apache.org


[1-8]

about | contact  Other archives ( Real Estate discussion Medical topics )