To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 5104
5103  |  5105
Subject: 
Re: Multilingual webserver (Was: Massive LDraw file repository)
Newsgroups: 
lugnet.off-topic.geek
Date: 
Wed, 4 Jan 2006 16:57:51 GMT
Viewed: 
3186 times
  
On Wed, Jan 04, 2006 at 09:39:08AM +0000, Jacob Sparre Andersen wrote:
In case anybody is curious about what I mean by a "multilingual
webserver" the basic idea is no only to serve pages in the preferred
language of the reader, but also to redirect them to URLs in their
preferred language.  There is a few more words about my ideas at
<http://edb.jacob-sparre.dk/webstedsgenerator/web-server.pdf>.
Unfortunately I haven't had time to implement the ideas properly yet,
so I'm still running a plain Apache webserver.

Cool idea - not sure I see why you can't use a plain Apache, with a
semi-smart redirect-map...  It should be fairly straightforward to
implement, actually - two MySQL tables (one for dirs/language
translation, one for file/language), and a dynamic map.

  http://httpd.apache.org/docs/2.1/mod/mod_rewrite.html#rewritemap

I'm using something very similar on media.peeron.com - to translate
/setid/page/ (http://..../8880-1/1/) to /dir/filename (/var/www/..../3215/1.jpg)

Or am I missing something?

--
Dan Boger
dan@peeron.com



Message has 1 Reply:
  Re: Multilingual webserver
 
(...) I think it would at least require an external rewriting program just to handle the mapping of the accepted and available language to a selected language. And I can't see how you can avoid infinite loops using the Apache rewritemap directive. (...) (19 years ago, 7-Jan-06, to lugnet.off-topic.geek)

Message is in Reply To:
  Multilingual webserver (Was: Massive LDraw file repository)
 
(...) In case anybody is curious about what I mean by a "multilingual webserver" the basic idea is no only to serve pages in the preferred language of the reader, but also to redirect them to URLs in their preferred language. There is a few more (...) (19 years ago, 4-Jan-06, to lugnet.off-topic.geek)

26 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR