please point to the script used: it probably comes from an old setup. 
You'll find numerous occurrences of the same "problem" here and there on 
the forum. What needs to be changed is the "thing" that serves static 
files, taking into consideration static asset management 
<http://web2py.com/books/default/chapter/29/04/the-core#Static-asset-management>
 

On Wednesday, March 4, 2015 at 8:59:27 PM UTC+1, John McMaster wrote:
>
> Just installed web2py on webfaction.
> Used one of the scripts on the webfaction community site.
>
> The domain is working.
> When I try to access the admin/default/index the css is clearly not being 
> used.
>
> After using the Inspect Element to see what went wrong you can clearly see 
> that the admin index.html page is looking for the static css in a folder 
> that isn't on the server.
>
> admin/static/_2.9.12/css/bootstrap_essentials.css
>
> it should be 
>
> admin/static/css/bootstrap_essentials.css
>
>
> My question is this How do I correct this?
>
> Is this a bug in web2py?
>
> I see a lot of people trying to resolve issues with static pages. My 
> thinking was this. One the web2py welcome/default/index is working and the 
> nginx.conf file has a reg exp to redirect static files and they work.
>
> Where did the _2.9.12 come from?
>
>
> here is the code used in the layout.html for loading the static files
>         {{
>         response.files.append(URL('static','css/bootstrap.min.css'))
>         response.files.append(URL('static','css/bootstrap_essentials.css'))
>         
> response.files.append(URL('static','css/bootstrap-responsive.min.css'))
>         }}
> there is no _2.9.12
>
> If I could get rid of _2.9.12 the reg exp would work.
>
> Any ideas or help in this matter would help not just me but a lot of 
> others.
>
> Thank You. 
>
> By the way... Web2py is AWESOME!
> It has been a long day so please forgive any misstakes! 
>
>

-- 
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/d/optout.

Reply via email to