since 2.1.0 (almost an year ago) we have static asset management (you can 
read about it here 
<http://web2py.com/books/default/chapter/29/04/the-core?search=static_version#Static-asset-management>)
 
. you need to alter your 

AliasMatch ^/([^/]+)/static/(.*) 
/opt/web-apps/web2py/applications/$1/static/$2

directive to

AliasMatch ^/([^/]+)/static/(?:_[\d]+.[\d]+.[\d]+/)?(.*) 
/opt/web-apps/web2py/applications/$1/static/$2


On Wednesday, December 24, 2014 4:43:35 PM UTC+1, DJ wrote:
>
> Hello,
>
> I wanted to share an issue that has come up after upgrading to 2.9.11 on 
> CentOS.6.6/Apache.
>
> a) First the existing applications broke after the upgrade
> b) Admin interface would not load up properly (no icons and unable to 
> login)
>
> In the served html pages, an additional folder _2.9.11 is added which does 
> not exist: <link href="/admin/static/_2.9.11/css/bootstrap.min.css" >. Is 
> this coming from some rewrite directives? Your inputs would be much 
> appreciated. 
>
> Thanks,
> Sebastian
>
> --------
>
> The wsgi.web2py.conf file settings are as follows -
>
> WSGIScriptAlias / /opt/web-apps/web2py/wsgihandler.py
>
> <Location "/">
>   Order deny,allow
>   Allow from all
>   WSGIProcessGroup web2py
> </Location>
>
>    <Directory /opt/web-apps/web2py>
>      AllowOverride None
>      Order Allow,Deny
>      Deny from all
>      <Files wsgihandler.py>
>        Allow from all
>      </Files>
>    </Directory>
>
> AliasMatch ^/([^/]+)/static/(.*) 
> /opt/web-apps/web2py/applications/$1/static/$2
>
>
>
>

-- 
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