View Single Post
Old 07-28-2002, 06:55 AM  
some_idiot
Confirmed User
 
Join Date: May 2002
Location: Doesn't matter, I'm not buying you another pint!
Posts: 1,511
Quote:
Originally posted by hyper
okay i figured it out

add this to your .htaccess

LanguagePriority en

ErrorDocument 406 http://www.whatever.com


then rename your pages with .en after it
index.html.en
index.php.en
whatever you have add a .en to the end

if they dont use english language they get redirected
Right, and if you lack the LanuagePriority and have the
"mime magic" setup then you can redirect to any
language that you have the .XX extention to.

After all your languages are checked the default
fallback is your index.html

Hyper: That was a fresh directory dump, not the
contents of a file. Sorry the unix line feeds didn't
come through in the message.
some_idiot is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote