You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by di...@hyperreal.org on 1999/08/27 17:04:23 UTC
cvs commit: apache-1.3/conf httpd.conf-dist httpd.conf-dist-win
dirkx 99/08/27 08:04:20
Modified: conf httpd.conf-dist httpd.conf-dist-win
Log:
Just making sure that all the language's we currently have the welcome
page as, are all available.
Revision Changes Path
1.43 +21 -10 apache-1.3/conf/httpd.conf-dist
Index: httpd.conf-dist
===================================================================
RCS file: /x3/home/cvs/apache-1.3/conf/httpd.conf-dist,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- httpd.conf-dist 1999/05/05 20:17:59 1.42
+++ httpd.conf-dist 1999/08/27 15:04:15 1.43
@@ -308,7 +308,7 @@
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
- Options Indexes FollowSymLinks
+ Options Indexes FollowSymLinks MultiViews
#
# This controls which options the .htaccess files in directories can
@@ -632,19 +632,30 @@
# net-standard language code is pl) may wish to use "AddLanguage pl .po"
# to avoid the ambiguity with the common suffix for perl scripts.
#
-AddLanguage en .en
-AddLanguage fr .fr
-AddLanguage de .de
-AddLanguage da .da
-AddLanguage el .el
-AddLanguage it .it
+# In the case of 'ltz' we violate the RFC by using a three char
+# specifier. But there is 'work in progress' to fix this and get
+# the reference data for rfc1766 cleaned up.
+#
+AddLanguage da .dk # Danish
+AddLanguage nl .nl # Dutch
+AddLanguage en .en # English
+AddLanguage et .ee # Estonian
+AddLanguage fr .fr # Frech
+AddLanguage de .de # German
+AddLanguage el .el # Greek (Modern)
+AddLanguage it .it # Italian
+AddLanguage pt .pl # Portugese
+AddLanguage ltz .lu # Luxembourgeois*
+AddLanguage es .es # Spanish
+AddLanguage sv .se # Swedish
-#
# LanguagePriority allows you to give precedence to some languages
# in case of a tie during content negotiation.
-# Just list the languages in decreasing order of preference.
+#
+# Just list the languages in decreasing order of preference. We have
+# more or less alphabetized them here. You propably want to change this.
#
-LanguagePriority en fr de
+LanguagePriority en da nl et fr de el it pt x-lux es sv
#
# AddType allows you to tweak mime.types without actually editing it, or to
1.24 +20 -9 apache-1.3/conf/httpd.conf-dist-win
Index: httpd.conf-dist-win
===================================================================
RCS file: /x3/home/cvs/apache-1.3/conf/httpd.conf-dist-win,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- httpd.conf-dist-win 1999/05/05 20:18:00 1.23
+++ httpd.conf-dist-win 1999/08/27 15:04:16 1.24
@@ -569,19 +569,30 @@
# net-standard language code is pl) may wish to use "AddLanguage pl .po"
# to avoid the ambiguity with the common suffix for perl scripts.
#
-AddLanguage en .en
-AddLanguage fr .fr
-AddLanguage de .de
-AddLanguage da .da
-AddLanguage el .el
-AddLanguage it .it
-
+# In the case of 'ltz' we violate the RFC by using a three char
+# specifier. But there is 'work in progress' to fix this and get
+# the reference data for rfc1766 cleaned up.
#
+AddLanguage da .dk # Danish
+AddLanguage nl .nl # Dutch
+AddLanguage en .en # English
+AddLanguage et .ee # Estonian
+AddLanguage fr .fr # Frech
+AddLanguage de .de # German
+AddLanguage el .el # Greek (Modern)
+AddLanguage it .it # Italian
+AddLanguage pt .pl # Portugese
+AddLanguage ltz .lu # Luxembourgeois*
+AddLanguage es .es # Spanish
+AddLanguage sv .se # Swedish
+
# LanguagePriority allows you to give precedence to some languages
# in case of a tie during content negotiation.
-# Just list the languages in decreasing order of preference.
+#
+# Just list the languages in decreasing order of preference. We have
+# more or less alphabetized them here. You propably want to change this.
#
-LanguagePriority en fr de
+LanguagePriority en da nl et fr de el it pt x-lux es sv
#
# AddType allows you to tweak mime.types without actually editing it, or to
Re: cvs commit: apache-1.3/conf httpd.conf-dist httpd.conf-dist-win
Posted by Brian Behlendorf <br...@collab.net>.
On Thu, 7 Oct 1999, Marc Slemko wrote:
> On 27 Aug 1999 dirkx@hyperreal.org wrote:
>
> > - Options Indexes FollowSymLinks
> > + Options Indexes FollowSymLinks MultiViews
>
> Is there any reason to be concerned about enabling multiviews in the
> default config file? It is a... perhaps significant change in behaviour.
It adds overhead, so Apache will be slower in performance tests where the
default configs are used. That would be my main criticism. I don't see
it as a security problem, though it does deviate somewhat from the rule of
least-surprises.
Brian
Re: cvs commit: apache-1.3/conf httpd.conf-dist httpd.conf-dist-win
Posted by Marc Slemko <ma...@znep.com>.
On Thu, 7 Oct 1999, Marc Slemko wrote:
> On 27 Aug 1999 dirkx@hyperreal.org wrote:
>
> > dirkx 99/08/27 08:04:20
> >
> > Modified: conf httpd.conf-dist httpd.conf-dist-win
> > Log:
> > Just making sure that all the language's we currently have the welcome
> > page as, are all available.
> >
> > Revision Changes Path
> > 1.43 +21 -10 apache-1.3/conf/httpd.conf-dist
> >
> > Index: httpd.conf-dist
> > ===================================================================
> > RCS file: /x3/home/cvs/apache-1.3/conf/httpd.conf-dist,v
> > retrieving revision 1.42
> > retrieving revision 1.43
> > diff -u -r1.42 -r1.43
> > --- httpd.conf-dist 1999/05/05 20:17:59 1.42
> > +++ httpd.conf-dist 1999/08/27 15:04:15 1.43
> > @@ -308,7 +308,7 @@
> > # Note that "MultiViews" must be named *explicitly* --- "Options All"
> > # doesn't give it to you.
> > #
> > - Options Indexes FollowSymLinks
> > + Options Indexes FollowSymLinks MultiViews
>
> Is there any reason to be concerned about enabling multiviews in the
> default config file? It is a... perhaps significant change in behaviour.
Also, providing welcome pages for various languages makes it very likely
that a new user will want to put up their own page, so they edit
"index.html.en", see it change for them, and think they are done. Then
random other people come along with different language settings and still
see the default page. The Apache user won't necessarily know they also
have to remove index.html.* or to create their page as index.html...
Re: cvs commit: apache-1.3/conf httpd.conf-dist httpd.conf-dist-win
Posted by Marc Slemko <ma...@znep.com>.
On 27 Aug 1999 dirkx@hyperreal.org wrote:
> dirkx 99/08/27 08:04:20
>
> Modified: conf httpd.conf-dist httpd.conf-dist-win
> Log:
> Just making sure that all the language's we currently have the welcome
> page as, are all available.
>
> Revision Changes Path
> 1.43 +21 -10 apache-1.3/conf/httpd.conf-dist
>
> Index: httpd.conf-dist
> ===================================================================
> RCS file: /x3/home/cvs/apache-1.3/conf/httpd.conf-dist,v
> retrieving revision 1.42
> retrieving revision 1.43
> diff -u -r1.42 -r1.43
> --- httpd.conf-dist 1999/05/05 20:17:59 1.42
> +++ httpd.conf-dist 1999/08/27 15:04:15 1.43
> @@ -308,7 +308,7 @@
> # Note that "MultiViews" must be named *explicitly* --- "Options All"
> # doesn't give it to you.
> #
> - Options Indexes FollowSymLinks
> + Options Indexes FollowSymLinks MultiViews
Is there any reason to be concerned about enabling multiviews in the
default config file? It is a... perhaps significant change in behaviour.