yes yes yes I know all this, but the problem is that the apache server 1.3.9
that is with debian 2.2 doesn't show the hebrew (or russian for that matter)
pages correctly, and it annoies me that I had to compile and install a later
version in order to fix this problem, which sort of blows out the air of the
wonderful "apt-get".
So I should have asked the question differently, eg. why the (danm) binary
version of apache that comes with debian doesn't show the pages correct,
even though they have the correct meta tags and apache is configured
correctly and so on.
----- Original Message -----
From: "Tzafrir Cohen" <[EMAIL PROTECTED]>
To: "Valdemar Lemche" <[EMAIL PROTECTED]>
Cc: "Linux-IL Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, 27 March, 2001 22:11
Subject: Re: hebrew in apache with debian
> On Tue, 27 Mar 2001, Valdemar Lemche wrote:
>
> > how do I make my apache 1.3.9 on my debian 2.2 show hebrew pages
>
> That s not related to apache. Basically you write html pages with proper
> charset settings.
>
> But: I'm not sure if this is what you have in mind, but if you want is to
> be able to send "hebrew" pages if the browser asks for the language
> hebrew, then see the document about content negotiation in apache's docs.
>
> >From my apache's config:
> ---------
> # I figure you have those by default (I didn't need to add them)
> LoadModule negotiation_module modules/mod_negotiation.so
> AddModule mod_negotiation.c
>
> # define an extention for hebrew documents:
> AddLanguage he .he
>
> # I believe this one sets the default when no language is set by the
> # browser, right?
> LanguagePriority en he
> ----------
>
> Now all you have to do is replace index.html with index.html.he and
> index.html.en , and you have two different pages for sepeare contents.
>
> But I decided to go a little farther. I didn't like having files called
> foo.html.he . I like foo.he.html better, for a number of reasons.
>
> This makes life a bit more difficult. For instance, I had to change the
> DirectoryIndex line:
>
> ----------
> DirectoryIndex index index.shtml index.html index.htm index.cgi index.php
> index.php3
> ----------
> (I added "index" in the beginning. apache adds .he and later .html )
>
> And one last thing: I wanted a seperate 404 page for different languages:
> ----------
> ErrorDocument 404 /missing
> ----------
>
> Once again, apache adds the extentions on its own. The downside is that I
> should remember not to create a directory called "missing" :(
>
> --
> Tzafrir Cohen
> mailto:[EMAIL PROTECTED]
> http://www.technion.ac.il/~tzafrir
>
>
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]