Seem this could even be done for a key named "maven2/", like that all  
possibilities are covered.

On 06 Oct 2007, at 19:40, Hung Huynh wrote:

> I found another trick. I made a "maven2" file with the same content  
> of "index.html" (index.html is no longer needed).
> Then set the content-type for "maven2" to be "text/html" and the  
> content-disposition to be "inline"
>
> That tricks the browser into serveing http:// 
> download.terracotta.org/maven2 as a normal HTML page.
>
> Hung-
>
> Geert Bevin wrote:
>>>> Is there a way to auto-forward http://download.terracotta.org/ 
>>>> maven2
>>>> <http://download.terracotta.org/maven2/>  to
>>>> http://download.terracotta.org/maven2/index.html
>>>> <http://download.terracotta.org/maven2/>
>>>
>>> Nope.  S3 is not a real webserver.  It doesn't honor the concept of
>>> Apache DirectoryIndex AFAIK.
>>
>> Just an idea, isn't it possible to simply serve the same file that  
>> is at /maven2/index.html at the /maven2 location (without the /)?
>>
>> -- 
>> Geert Bevin
>> Terracotta - http://www.terracotta.org
>> Uwyn "Use what you need" - http://uwyn.com
>> RIFE Java application framework - http://rifers.org
>> Music and words - http://gbevin.com
>>

--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com

_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev

Reply via email to