you should use another syntax to have static files served with static_version enabled.
https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-ubuntu.sh#L110For the ones not really accustomed with regexes, all we're trying to do is the following
We have a file ....
/appname/static/abc.css
we want to serve it as
/appname/static/abc.css
AND as
/appname/static/_1.2.3/abc.css
OR
/appname/static/_2.3.1/abc.css
etc etc
so....
AliasMatch ^/
([^/]+)/static/
(?:_[\d]+.[\d]+.[\d]+/)?(.*) /home/www-data/web2py/applications/
$1/static/
$2The
bold red part is what has been "added" to web2py's scripts to make apache serve the same file if there is a _number.number.number "prefix" just right after "static".