The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
81 views

Make Content Negotiation work if language extension is on left side of MIME extension

The codebase I have is full of files like "foo.en.html", that should be served when "foo.html" is accessed. I know the files are supposed to be "foo.html.en", but I want to avoid a mass rename if ...
1
vote
0answers
187 views

Apache: Add header to one specific url?

I just configured some Content negotiation for my root url based on this Apache Document and it seems to work great. As my site also set a language cookie, I tested the following in my virtualhost ...
0
votes
1answer
105 views

Make MultiViews work even if the requested file does exist

From the Apache 2 docs: The effect of MultiViews is as follows: if the server receives a request for /some/dir/foo, if /some/dir has MultiViews enabled, and /some/dir/foo does not exist, then the ...
0
votes
1answer
1k views

Apache Content-Type encoding changing from UTF-8 to iso-88591 from directory to directory

I have a site running on Apache 2.2.8 (Plesk 9.5.4) For this site there is a strange behaivor the root directory only has html and it is served with the following header with is great. ...
-1
votes
2answers
120 views

OpenID client is failing due to content negotiation on Apache representing OpenID server

I am trying to login to Superuser with OpenID, and it generates a request like this: telnet phor.net 80 GET /professional HTTP/1.0 Accept:text/html,application/xhtml+xml,application/xrds+xml` And ...
5
votes
3answers
2k views

Configuring Apache content negotiation for languages using MultiViews

I'm attempting to get the MultiViews option working in Apache to vary the content returned to the browser based on the Accept-Language provided in requests. I've got the following configuration: ...