Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

mod_python

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


chowell at pyxisinnovation

Aug 30, 2007, 7:46 AM

Post #1 of 5 (197 views)
Permalink
mod_python

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


jeffpeng at gmx

Aug 30, 2007, 8:31 AM

Post #2 of 5 (187 views)
Permalink
Re: mod_python [In reply to]

-------- Original-Nachricht --------
> Datum: Thu, 30 Aug 2007 10:46:43 -0400
> Von: Chris Howell <chowell [at] pyxisinnovation>
>
> 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.gmx.net/de/go/multimessenger

---------------------------------------------------------------------
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: users-unsubscribe [at] httpd
" from the digest: users-digest-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd


chowell at pyxisinnovation

Aug 30, 2007, 9:01 AM

Post #3 of 5 (189 views)
Permalink
Re: mod_python [In reply to]

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 <chowell [at] pyxisinnovation>
>>
>> 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://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd
" from the digest: users-digest-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd


jeffpeng at gmx

Aug 30, 2007, 9:10 AM

Post #4 of 5 (187 views)
Permalink
Re: mod_python [In reply to]

-------- Original-Nachricht --------
> Datum: Thu, 30 Aug 2007 12:01:02 -0400
> Von: Chris Howell <chowell [at] pyxisinnovation>
> An: users [at] httpd
> Betreff: Re: [users [at] http] 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://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd
" from the digest: users-digest-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd


brian.e.munroe at gmail

Aug 30, 2007, 9:12 AM

Post #5 of 5 (198 views)
Permalink
Re: mod_python [In reply to]

On 8/30/07, Jeff Peng <jeffpeng [at] gmx> 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: users-unsubscribe [at] httpd
" from the digest: users-digest-unsubscribe [at] httpd
For additional commands, e-mail: users-help [at] httpd

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.