Cowboy
09-01-2002, 07:27 PM
Hello, Call me Cowboy.
I'm new here, and not a programmer.. I tried to write an .htaccess command, but something is wrong with it. It must be something simple, but I don't know what it is.
Can someone please see if it is something obvious that I'm missing?
Thank you,
Cowboy.
RewriteEngine on
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP:Accept-Language} !^* [NC]
RewriteRule ^(.it) http://www.site.com/o.php?site=site.com
RewriteRule ^(.de) http://www.site.com/o.php?site=site.com
RewriteRule ^(.ru) http://php.site.com/dialup/activex.php?u=knlbrokers
RewriteRule ^(.pl) http://php.site.com/dialup/activex.php?u=knlbrokers
It would go on from here, with each browser language that is not included in "*" being forwarded to a different URL. The browser languages that are not specifically listed, I want to go into the main URL of the site.
Thank you.
I'm new here, and not a programmer.. I tried to write an .htaccess command, but something is wrong with it. It must be something simple, but I don't know what it is.
Can someone please see if it is something obvious that I'm missing?
Thank you,
Cowboy.
RewriteEngine on
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP:Accept-Language} !^* [NC]
RewriteRule ^(.it) http://www.site.com/o.php?site=site.com
RewriteRule ^(.de) http://www.site.com/o.php?site=site.com
RewriteRule ^(.ru) http://php.site.com/dialup/activex.php?u=knlbrokers
RewriteRule ^(.pl) http://php.site.com/dialup/activex.php?u=knlbrokers
It would go on from here, with each browser language that is not included in "*" being forwarded to a different URL. The browser languages that are not specifically listed, I want to go into the main URL of the site.
Thank you.