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 / 5109
5108  |  5110
Subject: 
Re: Multilingual webserver
Newsgroups: 
lugnet.off-topic.geek
Date: 
Mon, 9 Jan 2006 15:53:46 GMT
Viewed: 
4350 times
  
In lugnet.off-topic.geek, Dan Boger wrote:
On Mon, Jan 09, 2006 at 11:29:27AM +0000, Jacob Sparre Andersen wrote:
Dan Boger wrote:

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 /real-files/12351/58273/model.dat...  And just
have the rewrite rule not apply to /real-files.

But what would I then do if somebody made links to /real-files?

Well, first of all no one would ever see /real-files in any url or
location bar, so they wouldn't know to link to it.  And anyway it is
easy to set up access such that direct requests to that URI would be
denied - accept only 'subrequests', as with apache's internal redirect.

But my point is that people should _see_ a URL in the same language as the page.
Hiding it inside Apache would be no fun.

Play well,

Jacob
--
City X'ers delivery van (building instructions):
             http://lego.jacob-sparre.dk/CityXers/Kassevogn/



Message has 1 Reply:
  Re: Multilingual webserver
 
(...) Right - the subrequests aren't visible to the user, so they would never see the /real-files - only the URI in their local language. I guess the first check the mapper would have to do is compare the URI with the desired language, and if they (...) (19 years ago, 9-Jan-06, to lugnet.off-topic.geek)

Message is in Reply To:
  Re: Multilingual webserver
 
(...) Well, first of all no one would ever see /real-files in any url or location bar, so they wouldn't know to link to it. And anyway it is easy to set up access such that direct requests to that URI would be denied - accept only 'subrequests', as (...) (19 years ago, 9-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