Create a static symbolic link application:
Name: web2py_static
App category: Symbolic link
App type: Symbolic link to static-only app
App doc: This creates a symlink from ~/webapps/ to the absolute path specified in the extra info field.
Then in your website mount this at/static
Now requests to static files will be handled directly by webfaction and never reach your app.
Name: web2py_static
App category: Symbolic link
App type: Symbolic link to static-only app
App doc: This creates a symlink from ~/webapps/
Then in your website mount this at
Now requests to static files will be handled directly by webfaction and never reach your app.
No comments:
Post a Comment