Re: How configure Django to handle /books URL and yet allow access to PDFs/images in subdirs of /books?

2011-01-04 Thread Chris Seberino
Nevermind. I figured it out. To only have subdirs by static you need to add a "/" at the end of an Alias line... e.g. Alias /books/ /some/static/dir/ Thanks! cs -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: How configure Django to handle /books URL and yet allow access to PDFs/images in subdirs of /books?

2011-01-04 Thread Chris Seberino
On Jan 4, 2:48 am, Graham Dumpleton wrote: > If using Apache/mod_wsgi it is quite simple, and wouldn't even need URL > rewriting as suggested by others. > > So, what are you hosting it with. Yes I am using mod_wsgi. The following line sends all URLs to WSGI script

Re: How configure Django to handle /books URL and yet allow access to PDFs/images in subdirs of /books?

2011-01-04 Thread Graham Dumpleton
On Tuesday, January 4, 2011 2:54:25 PM UTC+11, Chris Seberino wrote: > > How configure Django to handle /books URL and yet allow access to PDFs > and images in subdirs of /books? > > Specifically, I want /books to be a dynamic page with lots of links to > PDFs and images of book covers

Re: How configure Django to handle /books URL and yet allow access to PDFs/images in subdirs of /books?

2011-01-03 Thread Daniel Roseman
On Tuesday, January 4, 2011 3:54:25 AM UTC, Chris Seberino wrote: > > How configure Django to handle /books URL and yet allow access to PDFs > and images in subdirs of /books? > > Specifically, I want /books to be a dynamic page with lots of links to > PDFs and images of book covers contained

How configure Django to handle /books URL and yet allow access to PDFs/images in subdirs of /books?

2011-01-03 Thread Chris Seberino
How configure Django to handle /books URL and yet allow access to PDFs and images in subdirs of /books? Specifically, I want /books to be a dynamic page with lots of links to PDFs and images of book covers contained in subdirectories of /books like /books/some_book_1 and