PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > Language problem with the manual
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

Language problem with the manual

Réponse
 
LinkBack Outils de la discussion
Vieux 12/05/2007, 13h42   #1
geometris@fastmail.fm
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Language problem with the manual

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:

<VirtualHost 127.0.0.1:80>
ServerName apachedoc
DocumentRoot "C:/Apache2/manual"
AddLanguage en .en
AddLanguage fr .fr
AddLanguage de .de
LanguagePriority fr en de
Options +MultiViews
<Directory C:/Ache2/manual>
allow from all
</Directory>
</VirtualHost>

  Réponse avec citation
Vieux 12/05/2007, 14h21   #2
shimmyshack
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Language problem with the manual

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:
>
> <VirtualHost 127.0.0.1:80>
> ServerName apachedoc
> DocumentRoot "C:/Apache2/manual"
> AddLanguage en .en
> AddLanguage fr .fr
> AddLanguage de .de
> LanguagePriority fr en de
> Options +MultiViews
> <Directory C:/Ache2/manual>
> allow from all
> </Directory>
> </VirtualHost>


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.



  Réponse avec citation
Vieux 12/05/2007, 17h46   #3
geometris@fastmail.fm
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Language problem with the manual

On 12 mai, 15:21, shimmyshack <matt.fa...@gmail.com> 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:

>
> > <VirtualHost 127.0.0.1:80>
> > ServerName apachedoc
> > DocumentRoot "C:/Apache2/manual"
> > AddLanguage en .en
> > AddLanguage fr .fr
> > AddLanguage de .de
> > LanguagePriority fr en de
> > Options +MultiViews
> > <Directory C:/Ache2/manual>
> > allow from all
> > </Directory>
> > </VirtualHost>

>
> 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.

  Réponse avec citation
Vieux 12/05/2007, 17h58   #4
geometris@fastmail.fm
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Language problem with the manual

> 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.

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 20h18.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09091 seconds with 12 queries