Language problem with the manual

Language problem with the manual

am 12.05.2007 14:42:53 von geometris

Hi,
Who knows how to make the Apache manual display in the prefered
language? I tried MultiView, but the displayed ressource still is the
list of per-language available documents, unless I modify the names
of the "index" .html files so that Apache cannot find them and looks
for the miscellaneous available translations. (For instance, I have to
change quickreference.html to _quickreference.html.)
I'm sure there is some better way to do...

Here below the concerned subset of my conf file:


ServerName apachedoc
DocumentRoot "C:/Apache2/manual"
AddLanguage en .en
AddLanguage fr .fr
AddLanguage de .de
LanguagePriority fr en de
Options +MultiViews

allow from all

Re: Language problem with the manual

am 12.05.2007 15:21:54 von shimmyshack

On May 12, 1:42 pm, geomet...@fastmail.fm wrote:
> Hi,
> Who knows how to make the Apache manual display in the prefered
> language? I tried MultiView, but the displayed ressource still is the
> list of per-language available documents, unless I modify the names
> of the "index" .html files so that Apache cannot find them and looks
> for the miscellaneous available translations. (For instance, I have to
> change quickreference.html to _quickreference.html.)
> I'm sure there is some better way to do...
>
> Here below the concerned subset of my conf file:
>
>
> ServerName apachedoc
> DocumentRoot "C:/Apache2/manual"
> AddLanguage en .en
> AddLanguage fr .fr
> AddLanguage de .de
> LanguagePriority fr en de
> Options +MultiViews
>
> allow from all
>

>


try knocking off the extensions completely so index.html becomes index
then multiviews should work, but the real answer is to use a rewrite,
theres some info on the apache config group about this, unless it was
removed from the archive, i have asked similar questions in the past
and decided for me it was better to name the files using a convention
rather than use the rewrite. I had trouble getting the preferred
language and rewriting based on that and my site was small.
Have you considered banning everyone but you from seeing the manual
pages if you definiately want it up there.

Re: Language problem with the manual

am 12.05.2007 18:46:03 von geometris

On 12 mai, 15:21, shimmyshack wrote:
> On May 12, 1:42 pm, geomet...@fastmail.fm wrote:
>
>
>
> > Hi,
> > Who knows how to make the Apache manual display in the prefered
> > language? I tried MultiView, but the displayed ressource still is the
> > list of per-language available documents, unless I modify the names
> > of the "index" .html files so that Apache cannot find them and looks
> > for the miscellaneous available translations. (For instance, I have to
> > change quickreference.html to _quickreference.html.)
> > I'm sure there is some better way to do...
>
> > Here below the concerned subset of my conf file:
>
> >
> > ServerName apachedoc
> > DocumentRoot "C:/Apache2/manual"
> > AddLanguage en .en
> > AddLanguage fr .fr
> > AddLanguage de .de
> > LanguagePriority fr en de
> > Options +MultiViews
> >
> > allow from all
> >

> >

>
> try knocking off the extensions completely so index.html becomes index
> then multiviews should work, but the real answer is to use a rewrite,
> theres some info on the apache config group about this, unless it was
> removed from the archive, i have asked similar questions in the past
> and decided for me it was better to name the files using a convention
> rather than use the rewrite. I had trouble getting the preferred
> language and rewriting based on that and my site was small.
> Have you considered banning everyone but you from seeing the manual
> pages if you definiately want it up there.

Thank you. As I understand there is no very easy way. I'll rename the
files manually. This will take time but it is worth to do it once.

Re: Language problem with the manual

am 12.05.2007 18:58:13 von geometris

> Have you considered banning everyone but you from seeing the manual
> pages if you definiately want it up there.

Yes. The manual is only in the configuration file on my offline
computer.