[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: what is needed to support other charsets in wml?



On Mon, Jan 04, 1999 at 11:01:40AM -0500, James A. Treacy wrote:
> On Sun, Dec 27, 1998 at 05:49:46PM +0100, Rafael Cordones Marcos wrote:
> > 
> Actually, there is another minor problem. The extension .html.<lang> was
> used instead of <lang>.html . Use <lang>.html as it allows apache to
> get the mime type correct on a file. I plan on switching when the Italian
> translation gets its act together.
> 
[Maybe this is a little off-topic because it is mainly about
Apache...? Sorry if it is.] 

Well, I am trying to implement the <lang>.html thing and it is getting
tricky because of the way gfont works. GFont generates GIFs like 
index.gfont000.gif. So if I make a request to http://my_server/index
apache returns index.gfont000.gif instead of any of the
index.<lang>.html files. This is because I am using the "DirectoryIndex
index index.cgi index.shtml index.html index.htm" option of Apache.
Furthermore, for the sake of backwards compatibility I want URLs of
the form http://my_server/file.html to work.

So I you switch to <lang>.html I understand from Apache documentation
that content negotiation works ONLY if the file being requested does 
not exist (see http://www.apache.org/docs/content-negotiation.html ). 
What kind of problems do you have with the html.<lang> implementation?

Thanx for your time.

Best regards,

Rafa C. Marcos
BCN Art Directe (Promotora d'Art)
http://www.bcnartdirecte.com

------------------------------------------------------------------------
Visit Internet Virtual Studios at: http://www.bcnartdirecte.com/studios







______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com