|
Home > Archive > Apache Server configuration support > May 2007 > Language problem with the manual
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Language problem with the manual
|
|
| geometris@fastmail.fm 2007-05-12, 1:17 pm |
| 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>
| |
| shimmyshack 2007-05-12, 1:17 pm |
| 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.
| |
| geometris@fastmail.fm 2007-05-12, 1:17 pm |
| On 12 mai, 15:21, shimmyshack <matt.fa...@gmail.com> wrote:
> On May 12, 1:42 pm, geomet...@fastmail.fm wrote:
>
>
>
>
>
>
> 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.
| |
| geometris@fastmail.fm 2007-05-12, 1:17 pm |
| > 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.
|
|
|
|
|