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, send
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
WSGIScriptAlias/
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 contain
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 in
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 /books/some_book_1/book_co
5 matches
Mail list logo