now that static_version is flagshipped and hopefully implemented in most apps, let's setup it by default

This commit is contained in:
niphlod
2014-03-17 21:32:42 +01:00
parent 2802e29945
commit 9a8231f675
8 changed files with 54 additions and 49 deletions
+4 -3
View File
@@ -311,8 +311,8 @@ NameVirtualHost *:443
Allow from all
</Files>
</Directory>
AliasMatch ^/([^/]+)/static/(.*) /opt/web-apps/web2py/applications/\$1/static/\$2
AliasMatch ^/([^/]+)/static/(?:_[\d]+.[\d]+.[\d]+/)?(.*) \
/opt/web-apps/web2py/applications/\$1/static/\$2
<Directory /opt/web-apps/web2py/applications/*/static>
Options -Indexes
@@ -350,7 +350,8 @@ NameVirtualHost *:443
</Files>
</Directory>
AliasMatch ^/([^/]+)/static/(.*) /opt/web-apps/web2py/applications/\$1/static/\$2
AliasMatch ^/([^/]+)/static/(?:_[\d]+.[\d]+.[\d]+/)?(.*) \
/opt/web-apps/web2py/applications/\$1/static/\$2
<Directory /opt/web-apps/web2py/applications/*/static>
Options -Indexes