On Mon, Aug 1, 2011 at 2:51 PM, Chris Seberino <cseber...@gmail.com> wrote:
> Thanks.  I'll look into that.  Is there no way to have a view hand off
> a page to Apache?
> If there was, I could have a view that was password protected and only
> when I was in the view would I allow the apache page to be served.

that's exactly what  mod_xsendfile (and X-accel-redirect for nginx)
does.  in short, any response from Django that contains such header is
replaced by the frontend server with the file.

-- 
Javier

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to