Re: Redirect to html file

2009-06-29 Thread rskm1
> Hi! If I have some html file somewhere (i.e. /var/file), how to > redirect user to it? It is not a template and not in a template > folder. Thanks :) "Redirect" probably isn't the word you wanted there. If you really meant "How do I make my view function display the contents of an arbitrary HT

Re: Redirect to html file

2009-06-29 Thread Alex Gaynor
On Mon, Jun 29, 2009 at 6:11 AM, Daniel Roseman wrote: > > On Jun 29, 9:23 am, alecs wrote: > > Hi! If I have some html file somewhere (i.e. /var/file), how to > > redirect user to it? It is not a template and not in a template > > folder. Thanks :) > > It needs to be somewhere the webserver can

Re: Redirect to html file

2009-06-29 Thread Daniel Roseman
On Jun 29, 9:23 am, alecs wrote: > Hi! If I have some html file somewhere (i.e. /var/file), how to > redirect user to it? It is not a template and not in a template > folder. Thanks :) It needs to be somewhere the webserver can see it. Ideally you'd put in the same place as the rest of your stat