The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages
> Python Programming
|
python | XP | apache 1.3
Discuss python | XP | apache 1.3 in the Python Programming forum on Dev Shed. python | XP | apache 1.3 Python Programming forum discussing coding techniques, tips and tricks, and Zope related information. Python was designed from the ground up to be a completely object-oriented programming language.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

May 7th, 2004, 01:27 PM
|
|
Registered User
|
|
Join Date: May 2004
Posts: 12
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
|

May 7th, 2004, 02:38 PM
|
|
Contributing User
|
|
Join Date: Feb 2004
Posts: 44
Time spent in forums: < 1 sec
Reputation Power: 10
|
|
|
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.
|

May 7th, 2004, 03:01 PM
|
|
Contributing User
|
|
Join Date: Oct 2003
Location: Canada
Posts: 185
Time spent in forums: 20 h 44 m 50 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."
|

May 7th, 2004, 04:08 PM
|
|
Registered User
|
|
Join Date: May 2004
Posts: 12
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.
|

May 7th, 2004, 04:37 PM
|
|
Contributing User
|
|
Join Date: Oct 2003
Location: Canada
Posts: 185
Time spent in forums: 20 h 44 m 50 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
|

May 7th, 2004, 10:12 PM
|
 |
Hello World :)
|
|
Join Date: Mar 2003
Location: Hull, UK
|
|
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
|

May 8th, 2004, 12:20 PM
|
|
Registered User
|
|
Join Date: May 2004
Posts: 12
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
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|