www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kai Hofmann <hofm...@hofmann-int.de>
Subject mod_mime/4358: DefaultLanguage doesn't work within .htaccess
Date Thu, 06 May 1999 12:09:57 GMT

>Number:         4358
>Category:       mod_mime
>Synopsis:       DefaultLanguage doesn't work within .htaccess
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu May  6 05:10:01 PDT 1999
>Last-Modified:
>Originator:     hofmann@hofmann-int.de
>Organization:
apache
>Release:        1.3.4
>Environment:
Solaris 2.5 with gcc 2.7.x
>Description:
My provider has not configures language support, but I did it by myself via
the .htaccess file without problems - i.e. AddLanguage etc. works fine!
Now I wanted to add "DefaultLanguage en" - after doing so, I received an error
from the server. As it seems DefaultLanguage and AddLanguage should be within
the same "AllowOverride" group I can not figure out that I have done something wrong.

Here is my .htaccess file:

ErrorDocument 500 /error500.html
AddLanguage de .de
AddLanguage en .en
LanguagePriority en de
DirectoryIndex index
Options +MultiViews

because the english index files are named index.html I wanted to
add DefaultLanguage en
The Server is a virtual host.
>How-To-Repeat:
Hopefully the above given information is enough for a reproduction.
Because I have no direct access to the server configs I can not give you
more - sorry.
>Fix:
Maybe DefaultLanguage is not within the same OverrideGroup as AddLanguage,
or it has been documented as usable within .htaccess, but not correctly
implemented?
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]




Mime
View raw message