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 / 5105
5104  |  5106
Subject: 
Re: Multilingual webserver
Newsgroups: 
lugnet.off-topic.geek
Date: 
Sat, 7 Jan 2006 14:01:07 GMT
Viewed: 
7098 times
  
Dan Boger wrote:
> 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.

> 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.

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.

Secondly I would like to run a smaller, more secure web-server instead of
Apache.

> Or am I missing something?

I think the critical part you missed is the infinite loops, but there may be a
way around them.

Play well,

Jacob
--
Jacob's LEGO:
                               http://lego.jacob-sparre.dk/



Message has 1 Reply:
  Re: Multilingual webserver
 
(...) Yes, you use an external script for the mapping... But it is a fairly simple perl script. And the infinite loops are avoided by having the actual URLs be off a separate tree - /lego/dat/model.dat could be rewritten as (...) (21 years ago, 7-Jan-06, to lugnet.off-topic.geek)

Message is in Reply To:
  Re: Multilingual webserver (Was: Massive LDraw file repository)
 
(...) 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 (...) (21 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
    

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