[OSM-dev] how to change the delimiter in rails asset urls?

John McKerrell john at mckerrell.net
Wed Aug 6 08:55:17 BST 2008


On 6 Aug 2008, at 01:21, Tom Hughes wrote:

> 2008/8/6 Mikel Maron <mikel_maron at yahoo.com>:
>
>> I've just removed that bit from my local server, and now it works.
>>
>> How are these urls being resolved then?
>
> They rely on the fact that lighttpd+fastcgi (and indeed webrick) does
> not care about any additional trailing components once it has found
> the required resource based on the leading components.
>
> Other web servers (like apache) do care.

Apache can be persuaded not to care, at least when it's serving the  
files itself, not sure if this counts when proxying. I think Apache  
1.3 required "Options Multiviews" whereas Apache 2 now requires  
"AcceptPathInfo On" but I'd set both to be on the safe side.

John




More information about the dev mailing list