LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-23-2012, 04:35 PM   #1
kptkill
LQ Newbie
 
Registered: Apr 2007
Posts: 20

Rep: Reputation: 0
Apache Rewrite with accent character


Hello, I'm trying to create a rewrite that contains the "" (e with an accent)... however, whatever I try does not seem to be working... Can anyone help?

RewriteRule ^/boll\%C3\%A9$ /ca/boll%C3%A9 [NC,R=301]
 
Old 08-24-2012, 04:18 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,938

Rep: Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341
Hi,

Why don't you use:
Code:
RewriteRule ^boll(.*) /ca/boll$1 [NC,R=301,NE]
Regards
 
Old 08-28-2012, 11:13 AM   #3
kptkill
LQ Newbie
 
Registered: Apr 2007
Posts: 20

Original Poster
Rep: Reputation: 0
While this does seem like it would work, it seems sloppy... isn't there a good way to directly capture the symbol?
 
  


Reply

Tags
accent, apache, mod_rewrite, rewrite


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Using grep with the accent character present eddyq Linux - Newbie 4 07-08-2011 04:46 PM
[SOLVED] Apache rewrite help vockleya Linux - Server 1 06-17-2011 11:36 PM
Apache Rewrite mahmoud Linux - Software 2 11-11-2008 07:52 AM
Apache Rewrite mahmoud Linux - Newbie 2 10-08-2008 08:11 AM
Need help with Apache rewrite kinetik Linux - General 6 05-19-2006 06:02 AM


All times are GMT -5. The time now is 04:26 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration