You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Andy Wang <aw...@ptc.com> on 2015/03/13 04:41:08 UTC
[users@httpd] MultiView LanguagePriority not working in 2.4
I have the following MultiView LanguagePriority block:
<Directory "/mydirectory">
Options FollowSymLinks MultiViews
AllowOverride None
Require all granted
LanguagePriority en de es fr it ja ko zh_TW zh_CN
ForceLanguagePriority Prefer Fallback
</Directory>
And inside I have files with
blah.html.en
And in httpd 2.4 (specifically 2.4.12) I get a 404 for blah.html with
the following in the error log:
[Thu Mar 12 22:27:19.535024 2015] [negotiation:error] [pid 24949:tid
139915962656512] [client 10.100.232.4:50065] AH00687: Negotiation:
discovered file(s) matching request: /mydirectory/blah.html (None could
be negotiated).
In 2.2.29 the exact same block is working fine.
Did something change or is there something wrong with the 2.4 configuration?
Thanks,
Andy
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] MultiView LanguagePriority not working in 2.4
Posted by Andy Wang <aw...@ptc.com>.
On 03/12/2015 10:41 PM, Andy Wang wrote:
> I have the following MultiView LanguagePriority block:
> <Directory "/mydirectory">
> Options FollowSymLinks MultiViews
> AllowOverride None
> Require all granted
> LanguagePriority en de es fr it ja ko zh_TW zh_CN
> ForceLanguagePriority Prefer Fallback
> </Directory>
>
> And inside I have files with
>
> blah.html.en
>
> And in httpd 2.4 (specifically 2.4.12) I get a 404 for blah.html with
> the following in the error log:
> [Thu Mar 12 22:27:19.535024 2015] [negotiation:error] [pid 24949:tid
> 139915962656512] [client 10.100.232.4:50065] AH00687: Negotiation:
> discovered file(s) matching request: /mydirectory/blah.html (None could
> be negotiated).
>
> In 2.2.29 the exact same block is working fine.
>
> Did something change or is there something wrong with the 2.4
> configuration?
Solved. I was stupid and forgot that I uncommented the
httpd-languages.conf include in 2.2 but not in 2.4.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org