Re: Deployed url mapping

2007-02-18 Thread Malcolm Tredinnick
Somebody else has posted an alternative phrasing of the solution, but let's just clear up a couple of items for the archives... On Sun, 2007-02-18 at 00:51 -0800, kbochert wrote: [...] > So perhaps "install apache and mod_python" really means "insure that > your host has apache and mod_python ins

Re: Deployed url mapping

2007-02-18 Thread kbochert
I think I almost get it. If I configure Apache as you suggest, and a user surfs to "www.mysite.com" what url gets 'passed' to urls.py? Will that url match: 1:(r'^$', 'mysite.myapp.views.index'), or 2: (r'^myapp/$', 'mysite.myapp.views.index'), or 3: (r'^index$', 'mysite.myapp.views.index'),

Re: Deployed url mapping

2007-02-18 Thread ashwoods
i think you are a little confused. i'll try to clear things up. first, the url.py does not depend on the apache configuration in the sense you imply. but apache does have to know when to call the django/python handler, and that can be host based, directory based, virtualhost based (if the apache

Re: Deployed url mapping

2007-02-18 Thread kbochert
On Feb 18, 12:29 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sun, 2007-02-18 at 00:20 -0800, kbochert wrote: > No it doesn't *require* Apache, although that is one popular option. > Please read the installation documentation, which contains pointers to > setup instructions for other

Re: Deployed url mapping

2007-02-18 Thread Malcolm Tredinnick
On Sun, 2007-02-18 at 00:20 -0800, kbochert wrote: > > > On Feb 18, 12:05 am, Malcolm Tredinnick <[EMAIL PROTECTED]> > wrote: [...] > > > > If you are really confused about this, then trying to install your app > > in a hosting environment without first testing it on your local machine > > with

Re: Deployed url mapping

2007-02-18 Thread kbochert
On Feb 18, 12:05 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sat, 2007-02-17 at 23:42 -0800, kbochert wrote: > > > On Feb 17, 11:04 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> > > wrote: > [...] > > > It will very much vary on a per-host basis. Django code may not be > > > responsible

Re: Deployed url mapping

2007-02-18 Thread Malcolm Tredinnick
On Sat, 2007-02-17 at 23:42 -0800, kbochert wrote: > > > On Feb 17, 11:04 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> > wrote: [...] > > It will very much vary on a per-host basis. Django code may not be > > responsible for serving all of the URLs for a particular site, for > > example. Somewhere

Re: Deployed url mapping

2007-02-17 Thread kbochert
On Feb 17, 11:04 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sat, 2007-02-17 at 20:51 -0800, kbochert wrote: > > On a deployed django site, what url does Django use when scanning > > urls.py when user browses towww.mysite.com ? > > > When I access my (non-django) site with > > www.my

Re: Deployed url mapping

2007-02-17 Thread Malcolm Tredinnick
On Sat, 2007-02-17 at 20:51 -0800, kbochert wrote: > On a deployed django site, what url does Django use when scanning > urls.py when user browses to www.mysite.com ? > > > When I access my (non-django) site with > www.mysite.com > my host serves up the file that i see as html/index.html On

Deployed url mapping

2007-02-17 Thread kbochert
On a deployed django site, what url does Django use when scanning urls.py when user browses to www.mysite.com ? When I access my (non-django) site with www.mysite.com my host serves up the file that i see as html/index.html If the polls tutorial is deployed to my host, does the mapping in