1

am looking for a way to run django by just using my xampp, and i bumped into this tutorial online http://jyotirmaya.blogspot.com/2008/11/xampp-python-django.html according to the author, mod_python 3.3.1 is not supported by python 2.6, but the blog post was created more then a year ago i think. is this thing still true until now? or its ok if I will use 2.6 and combine it with mod python 3.3.1 ?

1 Answer 1

6

mod_python must be compiled against the specific version of Python that the handler will be run in. At the time there was probably no Windows installer for mod_python built against 2.6.4, hence the hysteria.

In all fairness, you should probably be using mod_wsgi to run Django apps instead.

Sign up to request clarification or add additional context in comments.

5 Comments

how will I use mod_wsgi ? I just downloaded it, and i think it should be placed under the apache modules folder coz the mod_wsgi file itself got a ".sO" extension, how will I load that module ?
You should refer to the install documentation available at the link. code.google.com/p/modwsgi/wiki/InstallationOnWindows
I ended up using the bitnami django stack installer, here's the screenshot i45.tinypic.com/2heyp7q.jpg then after installation, I saw the page says "it works" here's the screenshot i47.tinypic.com/35i65o5.jpg , but the problem now is I can't seem to find where the "test1" project that was automatically created during the installation process, the installer asked me to create an initial project and i named it "test1", but its missing under htdocs folder can you tell me where should django apps go ? here's the screenshot i45.tinypic.com/55qtft.jpg
i found it, its under my pc name folder
Unlike PHP scripts, WSGI applications are not required to be under the document root. In fact, it is recommended that they not be, since they are not processed by the web server directly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.