[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Selectively localized images [was: [gnu.org #604705] self-inconsiste
From: |
Yavor Doganov |
Subject: |
Re: Selectively localized images [was: [gnu.org #604705] self-inconsistent...] |
Date: |
Tue, 11 Jan 2011 22:53:54 +0200 |
User-agent: |
Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
Ineiev wrote:
> On 1/7/11, Yavor Doganov <address@hidden> wrote:
> > Multiviews is not enabled yet, AFAIK.
>
> Alexander noticed that when an url is written without trailing
> .html, like "http://www.gnu.org/philosophy/not-ipr", it takes
> into account the browser preferences:
Right, but how did he test this with gnu.org? IIRC, the general
consensus was to rename all original articles to .en.html (or
.html.en?) once we're ready to switch.
> Yes, he suggested to make a lot of symlinks.
Unfortunately symlinks will not work in this case.
> RewriteCond %{REQUEST_URI} !(\...\.html)$
> RewriteRule ^(.*)\.html$ /$1 [R=301,L]
This is www-discuss material, although only the GNU sysadmins manage
the web server configuration. I am going to initiate such discussion
(preparation to switch to MultiViews) once I figure out what are the
missing bits (from GNUN's perspective).
My bewilderment was that multiviews cannot "localize" SSI #include
directives or random <img> attributes, because there's no (sane) way
to determine which directive to transform (in the former case -- for
images it is completely out of question, I think), and such
transformation happens before the whole page is being served to
clients. Anyway, I may be wrong.