Yes, sorry, I'm planning on using Apache with mod_python.

Once I have installed Django, and configured Apache with mod_python -
what do I do with the code in the project folder I've been building?

Say my project was called "djangoproject".

Would I simply add the "/path/to/djangoproject" to PYTHONPATH and drop
this into httpd.conf?

<Location "/djangoproject/">
    SetHandler python-program
    PythonHandler django.core.handlers.modpython
    SetEnv DJANGO_SETTINGS_MODULE djangoproject.settings
    PythonDebug Off
</Location>


On May 30, 1:34 pm, "Michael Wieher" <[EMAIL PROTECTED]> wrote:
> It requires a familiarity with whatever web-server you run, usually
> Apache, for the sake of argument, I'll assume Apache.
>
> So, the tutorial discusses customizing your httpd.conf file <Location>
> tags quite a bit.
>
> Its up to you to bridge that gap between these <Location> parameters
> that Django's tutorial describes, and the actual instance of the
> Apache server you're attempting to deploy on, and this can vary (by
> default) from OS to OS and is configurable using Apache's various
> parameters and config files, however, if you just used apt-get install
> or yum install, for example, on Ubuntu the default Apache location for
> its web-root is different than CentOS's.
>
> So the idea you're missing is that Django doc's tell you the specific
> <Location> parameters etc. for the site, but they rather
> understandably, do not attempt to re-document your web-server's
> documentation.
>
> On Fri, May 30, 2008 at 12:30 PM, c0mrade <[EMAIL PROTECTED]> wrote:
>
> > I'm really new do Django and coming from a Java/Php background.
>
> > In php when you deploy an app, you have the whole structure and you
> > set the web root to the public folder, which contains the bootstrap.
> > In Java you just make a war file and drag it into your application
> > server.
>
> > How do you deploy a Django app?
>
> > Maybe I'm missing something in the documentation... I don't see any
> > public folder, or bootstrap file in the django project structure. Is
> > there anything out there which would walk be through it?
>
> > Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to