[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: what is needed to support other charsets in wml?
- From: "James A. Treacy" <nospam@thanx>
- Date: Wed, 6 Jan 1999 15:28:31 -0500
On Wed, Jan 06, 1999 at 08:06:15PM +0100, Rafael Cordones Marcos wrote:
>
> [Maybe this is a little off-topic because it is mainly about
> Apache...? Sorry if it is.]
>
If anyone objects, we can take this to private mail.
> 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.
>
I don't know what apache is really doing, but I believe the proper thing
is to first order the available mime types and pick the one with the highest
priority. Next it should negotiate which language variant to serve (this
is a bit of a simplification as negotiation can be done on other criteria,
but mime type and language are the two most important).
I have no idea why gif is being given preference over html.
> 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?
>
Just that mime types are not recognized on file.html.<lang> files so
any other file.* files with a recognized mime type get served preferentially.
There are AddLanguage directives for every language so I don't know why
this is happening. I find the apache docs a bit confusing on this matter
so I may be doing something wrong.
BTW, the entire content negotiation is being reworked for apache 1.3.4 which
should be coming out 'soon'. This will be a great relief to those who rely
on apache for serving multiple languages (there are bugs in the content
negotiation of 1.3.3 and earlier).
Jay Treacy
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com