web2py/VERSION ?? But as I said you could need to change your apache config...
This is the example for nginx from the book : # file /etc/nginx/sites-available/web2py server { listen 80; server_name $hostname; #to enable correct use of response.static_version #location ~* /(\w+)/static(?:/_[\d]+.[\d]+.[\d]+)?/(.*)$ { # alias /home/www-data/web2py/applications/$1/static/$2; # expires max; #} The only thing important is the regex : /(\w+)/static(?:/_[\d]+.[\d]+.[\d]+)?/(.*)$ http://web2py.com/books/default/chapter/29/13/deployment-recipes#Nginx You can adapt for apache. But I am not sure the issue is coming from there. Richard On Mon, Nov 4, 2013 at 7:53 AM, Johann Spies <johann.sp...@gmail.com> wrote: > On 31 October 2013 19:00, Niphlod <niph...@gmail.com> wrote: > >> it's not a forgotten piece of code....it's there for a reason. >> > > What is the version referring to in admin/0.py/? It if it supposed to be > the current web2py version then it is a piece of forgotten code because in > Web2py 2.7.4. it 0.py has 2.7.3 in line 48. > > I have modified that file to response.static_version = '2.7.4' > but the problem still stays the same: > > e.g. /admin/static/_2.7.4/js/calendar.js > > And the documentation says that it is not necessary to create a different > directory for the current version. > > So either I am understanding nothing of this, or this is a mistake in the > documentation or the documentation is not clear. > > Anyhow it is frustrating. > > I am going to comment that line. > > What other way is there of solving this problem? > > Regards > Johann > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.