If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!


  • 0
    hamish-blank-11616  9 years ago

    Just to let anyone who uses this, I found with my setup the static files were no longer editable in the admin backend using this guide. I had to change the url rewrite below to ignore urls with admin in them.

    changed:

    "^(/.+?/static/.+)$" => "/applications$1",
    to:
    "^(?!.*admin)(/.+?/static/.+$)" => "/applications$1"
     
    Everything seems to be working as required, but if this is the incorrect way to go about it please let me know (and why)
     

Commented on:

Issues concerned with low memory footprint using web2py are discussed. Specific steps for configuring Lighttpd for static file use, URL remapping and a FastCGI UNIX socket are documented as well as a complete minimalist file. Corresponding sample 'routes_out' entries are shown.

Hosting graciously provided by:
Python Anywhere