Solved

Apache server setting: Redirect for URL with umlaut characters

Posted on 2008-06-11
2
850 Views
Last Modified: 2012-05-05
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.com
ServerAlias www.sitename.ch
RewriteEngine 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/link2

How 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).

0
Comment
Question by:drazen_nikolic
2 Comments
 
LVL 43

Accepted Solution

by:
ravenpl earned 500 total points
ID: 21766424
0
 
LVL 4

Author Closing Comment

by:drazen_nikolic
ID: 31466090
That was what I've needed. Thank you!
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question