Static HTML

66 views
Skip to first unread message

Pete D

unread,
Sep 24, 2012, 10:47:32 AM9/24/12
to web.py
Django has a function called direct to template. Does web.py have
anything like this? I know I can have the server serve static html
files directly, but I was wondering what is the best way for web.py to
serve a static html page?

Francois Dion

unread,
Sep 25, 2012, 4:46:48 PM9/25/12
to we...@googlegroups.com
What webserver is fronting your web.py app? If it is served by web.py then technically, it is a dynamic page. There is a /static folder that will be served "directly", but if you want to serve truely static html pages, I would serve them from the web server itself.
Reply all
Reply to author
Forward
0 new messages