That lets me read the URL from my web2py code, right? Instead, I want to serve the file via web2py to the browser.
I suppose I could use this with response.stream, if I knew how to parse the rest of the URL component below my controller.... On Nov 1, 12:17 pm, Richard Vézina <[email protected]> wrote: > I think this is what you are looking for > :http://web2py.com/book/default/chapter/12#Fetching-an-external-URL > > Richard > > > > > > > > On Tue, Nov 1, 2011 at 3:08 PM, John Duddy <[email protected]> wrote: > > I'm creating an app that runs external programs, which produce HTML > > reports. These reports are produced outside the static directory, but > > I want the user to be able to browse them. > > > Is there a way I can tell web2py to serve those files like it does > > static files? All the links in the HTML files are relative, so if I > > can create a URL that web2py will use for the base HTML file, I think > > it should work. > > > This is an intranet application, so security is not a big concern. > > > Thanks!

