Solved

Apache server setting: Redirect for URL with umlaut characters

Posted on 2008-06-11
2
843 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

810 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