Re: Serving both Django content and plain files with mod_python

2005-12-12 Thread Richie Hindle
[Richie] > can I have some root URLs served by Django and some served by Apache? [Adrian] > http://www.djangoproject.com/documentation/modpython/#serving-media-files [Bryan] > I would use the LocationMatch: > > > SetHandler None > > > and add txt and ico to the regular expression. Wond

Re: Serving both Django content and plain files with mod_python

2005-12-12 Thread Bryan Murdock
On 12/12/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > On 12/12/05, Richie Hindle <[EMAIL PROTECTED]> wrote: > > I'd like the root page of my site - http://example.com/ - to be served by > > Django. But there also static files that need to live in the root > > directory, eg. robots.txt and f

Re: Serving both Django content and plain files with mod_python

2005-12-12 Thread Adrian Holovaty
On 12/12/05, Richie Hindle <[EMAIL PROTECTED]> wrote: > I'd like the root page of my site - http://example.com/ - to be served by > Django. But there also static files that need to live in the root > directory, eg. robots.txt and favicon.ico. Using Apache/mod_python, can I > have some root URLs

Serving both Django content and plain files with mod_python

2005-12-12 Thread Richie Hindle
Hi, I'd like the root page of my site - http://example.com/ - to be served by Django. But there also static files that need to live in the root directory, eg. robots.txt and favicon.ico. Using Apache/mod_python, can I have some root URLs served by Django and some served by Apache? Thanks, --