Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rewrite with french accents?

Status
Not open for further replies.

emalrola

Technical User
Aug 10, 2004
1
GB
I have alwyas used rewrite in .htaccess to make more serach-engine-accessible paths.

However, I am now working on an English site where some of the parameters I am rewriting include french words with accents on.

My rewrite just fails miserably... (fine with strings with no accents)

I am doing a php urlencode of the strings, but this doen't seem to have any affect.

my rewrite rule is

#code to rewrite static to dynamic for galleryBig pages
RewriteRule ^galleryBig\_([^/]+)\_([^/]+)\_([^/]+)\.html$ galleryBig.php?filename=$1\.jpg&src=$2&shortDesc=$3 [L]

The href is displayed on IE bottom line as
I get a 403 error with the following message
You don't have permission to access /galleryBig_townMap_maps_Argelès-sur-Mer+town+Map.html on this server.

It works fine for anything without an accent.

Can anyone help?

Many thanks

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top