Forum Moderators: phranque

Message Too Old, No Replies

Removing AddLanguage httpd.conf

         

Frank_Rizzo

11:43 am on Mar 20, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There seems to be a lot of irrelevant stuff which can be chopped from the httpd.conf file.

One section I'm looking at is the addlanguage section:

--------------------------------------
AddLanguage ca .ca
AddLanguage cs .cz .cs
AddLanguage da .dk
AddLanguage de .de
AddLanguage el .el
AddLanguage en .en
AddLanguage eo .eo
AddLanguage es .es
AddLanguage et .et
AddLanguage fr .fr
AddLanguage he .he
AddLanguage hr .hr
AddLanguage it .it
AddLanguage ja .ja
AddLanguage ko .ko
AddLanguage ltz .ltz
AddLanguage nl .nl
AddLanguage nn .nn
AddLanguage no .no
AddLanguage pl .po
AddLanguage pt .pt
AddLanguage pt-BR .pt-br
AddLanguage ru .ru
AddLanguage sv .sv
AddLanguage zh-CN .zh-cn
AddLanguage zh-TW .zh-tw

LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
---------------------------------------

The way I see it is that if a French visitor arrives at the site Apache should look for any files with .fr extension and serve that to them

I may want to have a different page for each language and thus need to create

index.html.fr
index.html.de

etc.

So if I am not doing that I can just remove all those lines above?

Brett_Tabke

12:54 pm on Mar 21, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Well, I believe they are mainly used for error messages and directory listings. I don't think there would be an issue removing them unless you have some cms system or forum system that needs them in order to serve the right document.

[httpd.apache.org...]