?
Solved

Apache server setting: Redirect for URL with umlaut characters

Posted on 2008-06-11
2
Medium Priority
?
872 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 2000 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

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…
What You Need to Know when Searching for a Webhost Provider
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month15 days, 9 hours left to enroll

850 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