And now for something completely different...

Come in, pull up a chair, let's discuss all things Ryzom-related.
sluggo0
Posts: 132
Joined: Sun Nov 13, 2005 6:27 am

Re: And now for something completely different...

Post by sluggo0 »

magick1 wrote:I appear it is the way IE handles the cookie the site sends (I18N_LANGUAGE=en).
That, and the server behaves strangely (doesn't work with the good old telnet to port 80 :confused :) . But every browser I have tried (even Lynx :) ) return a page in English.
Haven't tried Trinis suggestion yet (I am in Linux at the moment and to lasy to launch Wine :p ).
It's a plone based site, plone based servers do not run on port 80 by default, and how I run my is use mod_rewrite to rewrite the requests and have plone servee through apache.

So people don't have to go to domain.com :p ort they just go to domain.com (implied port 80).

It should return a response of some kind if you telnet to port 80 then do GET /:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidd
en</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access
/
on this server.</p>
<hr>
<address>Apache/2.0.54 (Debian GNU/Linux) mod_ssl/2.0.54
OpenSSL/0.9.7e Server at web.nevrax.com Port 80</address>
</body></html>

They're running the same sort of apache/mod_rewrite setup I am/was (server is dead atm).

But, if they are missing en-gb, en-ca, etc, then someone has setup the internationalization settings too narrowly, they need to provide the same content for all the 'variants' as they do for 'en' or 'en-us' -- en-us is the default for Microsoft Windows, everything works set to en-us, guaranteed. It's probable that whoever tested used that setting, and didn't try the 'other' English languages lol.

I've made that mistake myself ;) .
---


Minou [Karavan] Arispotle
User avatar
magick1
Posts: 857
Joined: Fri Oct 15, 2004 3:09 pm

Re: And now for something completely different...

Post by magick1 »

Ah plone, that would explain the redirects I was getting. :)

While we are, somewhat, on the language topic there is a china.ryzom.com :D
Lien Chang

"We can't stop here, this is bat country" - Fear and Loathing in Las Vegas

(\(\
(^.^)
(")")
*This is the cute bunny virus, please copy this into your sig so it can spread.
thlau
Posts: 895
Joined: Tue Jan 11, 2005 12:50 pm

Re: And now for something completely different...

Post by thlau »

magick1 wrote: Haven't tried Trinis suggestion yet (I am in Linux at the moment and to lasy to launch Wine :p ).
It works the same on linux if you use firefox, konqueror or any other browser you use. The browser will send the HTTP header Accept-Language: en-gb, en with the HTTP request, and the HTTP server will check if it can server a page that matches one of the accepted languages. If it doesn't find a match, it will serve the default language of the server.
Trini - Darkmoor Rangers
blaah
Posts: 1333
Joined: Tue Dec 14, 2004 7:43 am

Re: And now for something completely different...

Post by blaah »

sluggo0 wrote:It's a plone based site, plone based servers do not run on port 80 by default, and how I run my is use mod_rewrite to rewrite the requests and have plone servee through apache.
go to zopewiki and read all about zope and apache. why it's done how it is.
It should return a response of some kind if you telnet to port 80 then do GET /:
nobody uses plain "GET /" anymore (you can only run one site that way).
try something like (copy/paste or type it blindly):
---
GET / HTTP/1.1
host:http://www.ryzom.com

---
(last line is just <enter>)
you get normal ryzom.com website.

sry for offtopic.
User avatar
magick1
Posts: 857
Joined: Fri Oct 15, 2004 3:09 pm

Re: And now for something completely different...

Post by magick1 »

thlau wrote:It works the same on linux if you use firefox, konqueror or any other browser you use. The browser will send the HTTP header Accept-Language: en-gb, en with the HTTP request, and the HTTP server will check if it can server a page that matches one of the accepted languages. If it doesn't find a match, it will serve the default language of the server.
I think you misunderstod, I had already tried it in Linux (read the line before the one you quoted). The Wine part was about testing it with IE. :p
The HTTP protocol is OS independent, so it will work on any hardware as long as it follow the specs. :)
Lien Chang

"We can't stop here, this is bat country" - Fear and Loathing in Las Vegas

(\(\
(^.^)
(")")
*This is the cute bunny virus, please copy this into your sig so it can spread.
Post Reply

Return to “General”