it's roughly two years since this has become the standard behaviour .... 
tune your apache config accordingly

http://web2py.com/books/default/chapter/29/04/the-core#Static-asset-management

On Saturday, February 20, 2016 at 4:35:05 PM UTC+1, MDSIII wrote:
>
> Recently upgraded to 2.13.4. My application works fine but the views for 
> web2py admin app are generating URLs to static resources with a version in 
> the path.
>
>
> {{=URL('static','js/bootstrap.min.js')}} 
>
> results in 
>
> "/admin/static/_2.13.4/js/bootstrap.min.js"
>
> instead of
>
> "/admin/static/js/bootstrap.min.js"
>
> In production I have web2py behind apache using wsgi.
>
> Do I need to change my apache configuration to AliasMatch and ignore that 
> _version part of the url? I don't want to short circuit something 
> haphazardly. What is the purpose of this behavior of URL rewrite and how am 
> I supposed to handle it?
>
> PS: I have calls to URL in views of my application that don't add this 
> version part to the path but they are explicit in the parts i.e. 
> URL(r=request, c='static', f='extjs/ext-all.js')
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to