Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPython Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 7th, 2004, 02:27 PM
tyler083 tyler083 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 12 tyler083 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 36 sec
Reputation Power: 0
python | XP | apache 1.3

ok, i've installed active state's python for XP.

I then instaled mod_python.

I then followed their instructions here:
http://modpython.org/live/current/d...stallation.html

However, with these instructions, I'm unable to get apache started.

I end up getting this:

Cannot load c:/..../mod_python.so into server

However, I have checked the path, and that module does exist.

These were the two lines that I added

LoadModule python_module modules/mod_python.so

AddModule mod_python.c

I tried it without the AddModule line.. still no luck.

Any ideas?
Thanks in advance.
Tyler

Reply With Quote
  #2  
Old May 7th, 2004, 03:38 PM
flixxer flixxer is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 44 flixxer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
I you installed a webserver(Apache) just for test, not as a real server, I recommend Abyss webserver which is free, and it's easier to configure Python to be used with it.Apache is kind of complicated.

Reply With Quote
  #3  
Old May 7th, 2004, 04:01 PM
caroundw5h caroundw5h is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Canada
Posts: 181 caroundw5h User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 55 m 53 sec
Reputation Power: 0
Quote:
Originally Posted by flixxer
I you installed a webserver(Apache) just for test, not as a real server, I recommend Abyss webserver which is free, and it's easier to configure Python to be used with it.Apache is kind of complicated.


I saw this thread and i was like, i'm just gonna tell him to get abyss, and then there you go. congrats.

I totally concur. abyss is amazing and python works like a charm with it. i use it now to host my site. and python with it.


__________________
"In theory, there is no difference between theory and practice.
But, in practice, there is."


Reply With Quote
  #4  
Old May 7th, 2004, 05:08 PM
tyler083 tyler083 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 12 tyler083 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 36 sec
Reputation Power: 0
Hmm.

i'm still in college, and I've been programming in Perl for about 5 years. This summer I'll be working at a job that will be using coldFusion.

So, as the semester is almost over, I thought i'd put a server on my local machine, and play with some more languages. So right now, I have apache 1.3 on XP configured to run Perl, PHP (i know that is does basically the same stuff as Perl, but hey, it's kind of a hot language to have on a resume..i think) and ColdFusion. I've also hear a ton of great stuff about Python, and have been wanting to give it a try, too.

Abyss (http://www.aprelium.com/abyssws/index.html - this one, right?) looks nice, and easy to configure for perl, php, python.. probably not for coldFusion though, ehh?

Reason I mention this is since I already have apache going for the rest... is it that much of an issue trying to get python working with it too? or should i dump apache, go with this, and then install coldFusion stand alone server?

thanks in advance.
-tyler.

Reply With Quote
  #5  
Old May 7th, 2004, 05:37 PM
caroundw5h caroundw5h is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Canada
Posts: 181 caroundw5h User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 55 m 53 sec
Reputation Power: 0
I think the latter.

apache has a much steeper learning curve than abyss, and honestly i don't think mod_python works with abyss....yet. but its really only for speed anyway and unless your expecting a considerable amount of traffic i really wouldn't worry about it.


Try abyss out i think you'll be fairly impress

Reply With Quote
  #6  
Old May 7th, 2004, 11:12 PM
netytan's Avatar
netytan netytan is offline
Hello World :)
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2003
Location: Hull, UK
Posts: 2,536 netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 18 h 10 m 32 sec
Reputation Power: 63
Send a message via ICQ to netytan Send a message via AIM to netytan Send a message via MSN to netytan Send a message via Yahoo to netytan
I've tried countless times to install mod_python with apache 1 and it just aint happening . But if mod_python is what you want to use your looking at Apache 2 minimum!

But at least this way it will work and its well worth looking into; although in theory it should work with Apache 1 too, it just doesn't!

Go to apache and get the latest version:

http://httpd.apache.org/

And get the intaller for mod_python from here:

http://httpd.apache.org/modules/python-download.cgi

Hope this works for you. If not, better go with abyss like the guys recomended

Mark.
__________________
programming language development: www.netytan.com Hula


Reply With Quote
  #7  
Old May 8th, 2004, 01:20 PM
tyler083 tyler083 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 12 tyler083 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 36 sec
Reputation Power: 0
Thanks for the replies guys.

Turns out this is all my fault..i never read enough. I was tyring to use mod_python 3, which doesn't work with apache 1.3 And I've also read that mod_python 2.X does't work well with the newest version of python.

So i got rid of apache 1.3, installed 2, and got it working in half an hour, the instructions worked perfectly.

thanks anyhow for all the help, i appreciate it.

-ty

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > python | XP | apache 1.3


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT