#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2004
    Posts
    12
    Rep 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/do...tallation.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
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2004
    Posts
    44
    Rep Power
    11
    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.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Location
    Canada
    Posts
    185
    Rep Power
    0
    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."

  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2004
    Posts
    12
    Rep 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.
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2003
    Location
    Canada
    Posts
    185
    Rep 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
    "In theory, there is no difference between theory and practice.
    But, in practice, there is."

  10. #6
  11. Hello World :)
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2003
    Location
    Hull, UK
    Posts
    2,537
    Rep Power
    69
    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

  12. #7
  13. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2004
    Posts
    12
    Rep 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

IMN logo majestic logo threadwatch logo seochat tools logo