Migration Lucee 4.5.5 to 5.2.4.37 - Url rewrite

Hello all,

First, please kindly apologize for my English.

I have a migration problem from Lucee 4.5.5 to 5.2.4. The site works well with the following rewrite url in version 4.5.5:

Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) /index.cfm?params=$1 [L,QSA]

After migrating to version 5.2.4, I have problems with accents in URLs, for example:

https://www.xxxxxx.xx/fr/1012/Promotions_offres_sp%C3%A9ciales_actions/

The server returns a blank page with a 400 error

My config is : Apache 2.4.74 / Server Ubuntu 14.04 Updated

Any idea for this problem ?

Thanks in advance
Christophe

PS: I state that it was not me who did the basic configuration.

does https://www.xxxxxx.xx/index.cfm work?

Hello Zac_Spitzer,

Yes, no problem, with this link for example, no problem :

https://www.xxxxxx.xx/fr/1012/Promotions_offres_speciales_actions/

maybe try this in your tomcat/server.xml file?

https://confluence.atlassian.com/doc/configuring-url-encoding-on-tomcat-application-server-174898.html

Thanks, is a good idea… I have change thc communication beetween Apache Tomcat.

Now I am communicating with AJP with the mod_proxy_ajp module, and changed my config in apache.conf with this:

<IfModule mod_proxy.c>
ProxyPreserveHost On
ProxyPassMatch ^ / (. + \. Cf [cm]) (/.*)? $ Ajp: //127.0.0.1: 8009 / $ 1 $ 2
ProxyPassMatch ^ / (. + \. Cfml) (/.*)? $ Ajp: //127.0.0.1: 8009 / $ 1 $ 2
....
(another links, but i'm new users... not possible to send more...)
</ IfModule>

It’s work now

Thanks for your help Zac_Spitzer :slight_smile:

2 Likes