On Sun, 6 Jul 2003 13:43:47 +0800, "kajaa" <[EMAIL PROTECTED]> wrote :

> While waiting for your reply, I wrote some rules as below:
> 
>  RewriteEngine On
>  RewriteBase /docs/LocalDocs/ApacheManual
>  RewriteRule ^(de|en|fr|ja|ko|zh-cn|ru)[/]?$ index\.html\.$1 [S=5]
>  RewriteRule ^(de|en|fr|ja|ko|zh-cn|ru)/(de|en|fr|ja|ko|zh-cn|ru)/(.*)$
> $2/$3 [R]
>  RewriteRule
> ^(de|en|fr|ja|ko|zh-cn|ru)/
(developer|faq|howto|images|misc|mod|platform|pro
> grams|search|ssl|style|vhosts)[/]?$ $2/index\.html\.$1 [S=3]
>  RewriteRule ^(de|en|fr|ja|ko|zh-cn|ru)/(.*)\.html$ $2\.html\.$1 [S=2]
>  RewriteRule
> ^(de|en|fr|ja|ko|zh-cn|ru)/(.*)\.html\.(de|en|fr|ja|ko|zh-cn|ru)$
> $2\.html\.$1 [S=1]
>  RewriteRule
> ^(de|en|fr|ja|ko|zh-cn|ru)/
(developer|faq|howto|images|misc|mod|platform|pro
> grams|search|ssl|style|vhosts)/(.*) $2/$3 [nocase]
> 
>  RewriteCond %{REQUEST_FILENAME} !-f
>  RewriteRule ^(.*)\.(de|en|fr|ja|ko|zh-cn|ru)$ $1
> 
> you may notice that, I didnt append language encoding extensions to HTMLs,
> such as gb2312 for zh-cn, euc-kr for kr, jis for ja, but actually, it 
works
> fine, EXCEPT for Russian variants, so, is Russian something special?
> 
> BTW, look here for a test: http://kajaa.bbs.us/manual
> 
> kajaa
> 
>

Um... possible to add zh-hk (or zh-tw)? Because if you search for the 
traditional chinese translation for the doc, you can find it already, but 
it is for Apache 1.3 and it is an html doc. We are try to change back to 
Apache 2.0 and use xml now. This need a much effort.

JHKChan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to