forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Jose Pablos <>
Subject Re: Forrest: dynamic or static?
Date Mon, 22 Sep 2003 13:01:13 GMT
Upayavira wrote:
> If you're happy to have a directory tree for each language (as opposed 
> to index.en.html, and, then you could do this really easy 
> with minimal modification to the CLI.

But I thought that you could use the <accept/> tag.

> All you need is a way specify the locale for a URI listed in the 
> cli.xconf. I reckon that'd take me 15 minutes. Then you could say:
> <uri src="index.html" locale="en/gb" dest="site/en/"/>
> <uri src="index.html" locale="de" dest="site/de/"/>
> etc.
> I'd extend the CommandLineRequest class to return your specified locale 
> instead of the default.
> Then you've just got to create some Apache rewriting rules, and you're 
> away.

I will check Apache documentation, to findout the best approach.


View raw message