Widoco icon indicating copy to clipboard operation
Widoco copied to clipboard

Set up content negotiation based on language

Open dgarijo opened this issue 6 years ago • 2 comments

If more than one language has been set up, do content negotiation. Look at: https://stackoverflow.com/questions/38158156/htaccess-rewrite-accept-language

https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.4

dgarijo avatar Jun 19 '18 16:06 dgarijo

Hi Daniel,

I just wanted to let you know that GitHub Pages does not support .htaccess files. This means that you cannot use them to configure redirects, rewrite URLs, or set custom headers. You can read more about this limitation here: https://github.com/orgs/community/discussions/23723

mosoriob avatar May 02 '23 15:05 mosoriob

Hello, Yeah, I am aware of this limitation. The htaccess files that are produced are not to be hosted in github pages. They are a guide to either host the doc in your server or to guide writing your w3id htaccess file. This issue is to explore support for language-specific redirections, which are not currently taken into consideration by the tool. Thanks for pointing me to the discussion though!

El mar., 2 may. 2023 5:41 p. m., Maximiliano Osorio < @.***> escribió:

Hi Daniel,

I just wanted to let you know that GitHub Pages does not support .htaccess files. This means that you cannot use them to configure redirects, rewrite URLs, or set custom headers. You can read more about this limitation here: https://github.com/orgs/community/discussions/23723

— Reply to this email directly, view it on GitHub https://github.com/dgarijo/Widoco/issues/290#issuecomment-1531697021, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALTIGTTHD5HYXROL7FJKGDXEETJVANCNFSM4FFXONQQ . You are receiving this because you were assigned.Message ID: @.***>

dgarijo avatar May 02 '23 16:05 dgarijo