LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 05: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, 05:18 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Hi,

Why don't you use:
Code:
RewriteRule ^boll(.*) /ca/boll$1 [NC,R=301,NE]
Regards
 
Old 08-28-2012, 12:13 PM   #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 05:46 PM
[SOLVED] Apache rewrite help vockleya Linux - Server 1 06-18-2011 12:36 AM
Apache Rewrite mahmoud Linux - Software 2 11-11-2008 08:52 AM
Apache Rewrite mahmoud Linux - Newbie 2 10-08-2008 09:11 AM
Need help with Apache rewrite kinetik Linux - General 6 05-19-2006 07:02 AM


All times are GMT -5. The time now is 11:31 PM.

Main Menu
Advertisement
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