Solved

Apache server setting: Redirect for URL with umlaut characters

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now