url rewrite no longer works

Description

Hi,
in the latest alpha version of commandbox (5.2.0-alpha+00243) urlrewrite no longer works.

I tried:

  • from command line `start --rewritesEnable`

  • from `server.json`:

 

Activity

Show:
Ionut Ivan
September 24, 2020, 6:23 AM
Edited

Log:

 

[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: <?xml version="1.0" encoding="utf-8"?>
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: <!DOCTYPE urlrewrite
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: PUBLIC "-//tuckey.org//DTD UrlRewrite 4.0//EN"
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: "http://www.tuckey.org/res/dtds/urlrewrite4.0.dtd">
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: <urlrewrite>
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: <rule enabled="true">
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: <name>fw1 pretty URLs</name>
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: <condition type="request-uri" operator="notequal">^/(flex2gateway|jrunscripts|cfide|cf_scripts|cfformgateway|cffileservlet|lucee|files|images|javascripts|miscellaneous|stylesheets|assets|robots.txt|favicon.ico|sitemap.xml|index.cfm|media|tests|testbox)</condition>
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: <from>^/(.*)$</from>
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: <to type="passthrough">/index.cfm/$1</to>
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: </rule>
[ERROR] org.tuckey.web.filters.urlrewrite.utils.ModRewriteConfLoader: Unknown line: </urlrewrite>

Brad Wood
September 24, 2020, 3:52 PM

Thanks for the report. I ran into this as well and have reported it for to fix

Assignee

Miguel Mathus

Reporter

Ionut Ivan

Labels

None

Affects versions

Fix versions

Priority

Major
Configure