SHARE
TWEET

Untitled

a guest Apr 21st, 2014 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. RewriteEngine on
  2. RewriteCond %{HTTP:Accept-Language} (ru) [NC]
  3. RewriteRule .* %sitename%/ru/index.html [R,L]
  4.        
  5. RewriteEngine on
  6.  
  7. RewriteCond %{HTTP:Accept-Language} ru [NC]
  8. RewriteRule !^ru(/.*)?$ /ru/index.html [R,L,NC]
  9.  
  10. RewriteCond %{HTTP:Accept-Language} !ru [NC]
  11. RewriteRule ^ru(/.*)?$ /index.html [R,L,NC]
  12.        
  13. RewriteEngine on
  14. RewriteCond %{HTTP:Accept-Language} (ru) [NC]
  15. RewriteRule ^(?!ru/) %sitename%/ru/index.html [R,L]
  16.        
  17. RewriteCond %{HTTP:Accept-Language} !(ru) [NC]
  18. RewriteRule ^ru/ %sitename%/index.html [R,L]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top