Apache Server configuration support - edit: language negotiation

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > August 2006 > edit: language negotiation





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author edit: language negotiation
shimmyshack

2006-08-31, 1:43 pm

I guess I should add that this is because a website setup to have

index.en.html
index.fr.html etc...

will not have an index.html file

While apache DOES find the correct inde.{lang}.html file if a request
for

directory/

comes along, it returns a 404 if a request for

/directory/index.html

comes along - I just want to stop that.

In the process of solving this problem, it would allow any file to be
linked in an html file by using

a href = filename.html

the server would then return the correct negotiated document, mimicking
Apache's behaviour if you use its inconvinient filenaming convention of

filename.html.{lang}

thanks very much for any help. ;)

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com