On Jul 8, 2011, at 6:06 PM, Bruno Rocha wrote:
On Fri, Jul 8, 2011 at 8:01 PM, Jonathan Lundell jlund...@pobox.com wrote:
It depends on your configuration. If apache/nginx is handling static files
directly, then web2py never sees it. Otherwise it does.
question:
i
How is the best way for
It only seems to be happening on images.
OK:
URL('default', 'item', extension='', args=item.item.slug)
http://pricetack.com/item/us-open-2010-pebble-beach-greg-norman-golf-shirt-x-99
Not OK:
{{=URL('static', 'uploads', extension='', args=item.item.image_thumb)}}
On Jul 8, 2011, at 2:31 PM, pbreit wrote:
It only seems to be happening on images.
OK:
URL('default', 'item', extension='', args=item.item.slug)
http://pricetack.com/item/us-open-2010-pebble-beach-greg-norman-golf-shirt-x-99
Not OK:
{{=URL('static', 'uploads', extension='',
Bingo, thx. Not sure how I missed except that I guess it works either way.
But now I have nginx handling /static which I presume is better.
On Jul 8, 2011, at 3:21 PM, pbreit wrote:
Bingo, thx. Not sure how I missed except that I guess it works either way.
But now I have nginx handling /static which I presume is better.
Up to you.
The idea is that static URLs aren't very visible to users, so there's less
motivation to shorten
I think I'd rather have my static URLs resemble my other URLs. Seems like if
I'm removing the default appname, that should be global?
Although I don't even know: on a URL like this, does it even touch web2py?
On Jul 8, 2011, at 3:39 PM, pbreit wrote:
I think I'd rather have my static URLs resemble my other URLs. Seems like if
I'm removing the default appname, that should be global?
Although I don't even know: on a URL like this, does it even touch web2py?
7 matches
Mail list logo