| | 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)
|
|
| | Re: Multilingual webserver
|
|
(...) 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 (19 years ago, 9-Jan-06, to lugnet.off-topic.geek)
|
|
| | 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)
|
|
| | Re: Multilingual webserver
|
|
(...) But what would I then do if somebody made links to /real-files? (...) But Apache is still written in C. I have already written my own special-purpose web-servers a few times, so it is not something I haven't tried before. And I trust my own (...) (19 years ago, 9-Jan-06, to lugnet.off-topic.geek)
|
|
| | 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 (...) (19 years ago, 7-Jan-06, to lugnet.off-topic.geek)
|
|
| | 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)
|
|
| | 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 (...) (19 years ago, 4-Jan-06, to lugnet.off-topic.geek)
|
|
| | 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)
|
|
| | Re: KING KONG
|
|
(...) Haven't seen the story in (URL) Wired magazine> have you? (...) Adr. (19 years ago, 9-Nov-05, to lugnet.off-topic.geek, FTX)
|
|
| | Re: A very fast TGV
|
|
(...) Some of mine are pushing thirty years! :D (19 years ago, 2-Nov-05, to lugnet.off-topic.geek)
|
|
| | Re: A very fast TGV
|
|
Interesting calculations. I have come across similar in the model railway world. The question is, do you scale down time as well? Is a minifig second 1/45 of a full size second? After all smaller animals tend to have shorter lifespans, how long does (...) (19 years ago, 2-Nov-05, to lugnet.off-topic.geek)
|
|
| | Re: Gottwald AMK 1000t mobile crane
|
|
(...) I would prefer to see a small overall view with zoomed pictures of the details. If a pic won't fit on my screen 90% of the time I won't even bother looking at it. Tim (19 years ago, 30-Oct-05, to lugnet.off-topic.geek)
|
|
| | Re: A dark blue starfighter
|
|
(...) Don't get me wrong- they look great. And a lot of popular sci-fi (especially Anime) does the same thing. This is Lego, where for the most part style trumps reality. I'm assuming Newtonian (reactionary) physics. In other words, you're pushing (...) (19 years ago, 20-Oct-05, to lugnet.off-topic.geek, FTX)
|
|
| | Re: Network issues - looking for help
|
|
(...) Thanks to all of those that helped, after endless hours (actually DAYS) of work and frustration... The network is finally working!!! Thank you very much, to Chris, Ross, and Andy, between combining their most excellent advice, with my not so (...) (19 years ago, 8-Oct-05, to lugnet.off-topic.geek)
|
|
| | Re: Network issues - looking for help
|
|
(...) Oops, my mistake, I mean the subnet mask is 255.255.255.0 (not the default gateway, as I had stated) This geek stuff is eating my brain. Janey "Red Brick" (19 years ago, 8-Oct-05, to lugnet.org.ca.rtltoronto, lugnet.off-topic.geek)
|
|
| | Re: Network issues - looking for help
|
|
(...) When we went to ipconfig... the info we got was the same... 192.168.2.10 mine 192.168.2.11 for him 192.168.2.1 for the router default gateway 255.255.255.0 we are both getting the router (192.168.2.1) for the default gateway Janey "Lost and (...) (19 years ago, 8-Oct-05, to lugnet.org.ca.rtltoronto, lugnet.off-topic.geek)
|
|
| | Re: Network issues - looking for help
|
|
(...) What's the IPs on these 3 nics? (yours, the router and the son's?) Sounds like his machine is getting an IP on a different subnet than yours from the router, and not getting his gateway ip set up right. (19 years ago, 8-Oct-05, to lugnet.org.ca.rtltoronto, lugnet.off-topic.geek)
|
|
| | Network issues - looking for help
|
|
Can anyone make heads or tails out of this network issue??? My computer (running XP HomeEd.) can access the Internet without issue. History... I have been using highspeed for a bit, and my children were starting to complain about dial up, as well as (...) (19 years ago, 8-Oct-05, to lugnet.org.ca.rtltoronto, lugnet.off-topic.geek)
|
|
| | Re: perl file copy question
|
|
(...) Yes, it returns a list of filename strings, including any relative path. ROSCO (19 years ago, 5-Oct-05, to lugnet.off-topic.geek)
|
|
| | Re: perl file copy question
|
|
(...) Does this code help? It shows the outputs. Decided to have a fiddle with what Ross posted to see what everything did. Tim use File::Glob ':glob'; use File::Basename; $ddn="destination directory"; @t=(<g:/docs/in_prog...bes/*.*>); foreach $f (...) (19 years ago, 5-Oct-05, to lugnet.off-topic.geek)
|