We have using Apache httpd service on CentOS 5 (Kernel: 2.6.18-8.1.10.el5PAE).
We need to define the redirect for a URL with umlaut characters.
So, for "standard" URL it work OK, something like:
<VirtualHost *:80>
ServerName
www.sitename.comServerAlias
www.sitename.chRewriteEngine On
RewriteRule ^/$
http://oursite.com/link1 [R]
</VirtualHost>
Now, we have URL with umlaut character:
www.öurl.ch (which DNS points to our server IP, of course) and we would like to redirect it to:
http://oursite.com/link2How can we do this mapping?
P.S. By specifying ServerName
www.öurl.ch we do not get redirected to the desired page, but to some default page (on our server).
Start Free Trial