You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 18, 2024. It is now read-only.
Hello,
I try to use the web framework bottle, with an application, which works on Ubuntu 14.04.
When I try to load my template file from the web browser (firefox):
return template('index.tpl', **settings)
I will get an HTML error 500 (internal server error).
When I try to load a static file, I will get an HTML error 404 (file not found).
When I run in a test program:
print(os.path.abspath(os.getcwd()))
I will get just "/".
Usually in "bottle" the program directory is the root for file loads.
How can I set it up, to make the root for file loads the program directory?