[Pro] Content Negotiation question

I am new on Freeway (6.1.2) and start to convert my small private Joomla website to Freeway.
The website is multilingual (german (DE) and english (EN)).
I now put the content negotiation on it and it creates the index.var with the two entries (index_de.html and index_en.html).

What I would be intested to know is, how I can make the english language version the standard version, if somebody visits the side with a language, which is not DE and not EN.
I know, I could use the index_alternative.html, but is there also a way, just to use the index_de.html and index_en.html ?

And maybe somebody can give me an insight, on which setting exactly I have to activate for the Apache webserver to get content negotiation to work.

Thanks in advance for your help.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

According to the documentation, ContentNegotiation is compiled into Apache 2.2 by default. There may be a configuration flag like ContentNegotiation On that you need to set in an .htaccess file – experiment with that. Using the .var files requires that you define a handler for them. Add this line to your .htaccess file, regardless what else you do: AddHandler type-map .var

Walter

On Jun 3, 2014, at 12:23 AM, Chris wrote:

I am new on Freeway (6.1.2) and start to convert my small private Joomla website to Freeway.
The website is multilingual (german (DE) and english (EN)).
I now put the content negotiation on it and it creates the index.var with the two entries (index_de.html and index_en.html).

What I would be intested to know is, how I can make the english language version the standard version, if somebody visits the side with a language, which is not DE and not EN.
I know, I could use the index_alternative.html, but is there also a way, just to use the index_de.html and index_en.html ?

And maybe somebody can give me an insight, on which setting exactly I have to activate for the Apache webserver to get content negotiation to work.

Thanks in advance for your help.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walter,

thanks for your help. I will contact my webspace provider to get this settings active.

What about using the index_en.html as alternative index page for the website with content negotiation.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you read the Apache documentation on this feature, you’ll see that there is a configuration setting your host can make that will give a particular translation greater weight, such that it will match requests that do not have a more specific match in the system. A Portuguese browser would get English, if I’m reading that right.

I made the Action (years ago) for another user who had already done all that research, and just wanted a simple way to gather the language file together from her Freeway document. I don’t actually know how that file gets used, or exactly how the server should be configured. Sorry.

Walter

On Jun 3, 2014, at 1:51 PM, Chris wrote:

Hi Walter,

thanks for your help. I will contact my webspace provider to get this settings active.

What about using the index_en.html as alternative index page for the website with content negotiation.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walter,

that´s fine. Thank you for your response. I will try to figure this out.

That´s exactly, what I want. If a portuguese browser comes in, it should get the english page.

Chris


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options