Tomcat unfortunately doesn't currently support multiple wildcards - just one. So, to do what you're thinking it should do, you'd need the following pattern: <url-pattern>*/index.cfm/*</url-pattern>. However, as previously stated, it won't work because Tomcat doesn't support multiple wildcards.
The <url-pattern>/index.cfm/*</url-pattern> pattern means that anything after the ROOT directory (the "/") followed by an index.cfm/, gets mapped. In your case, you needed to indicate the subdirectories.
--
Kind regards,
Jordan Michaels
Vivio Technologies
----- Original Message -----
From: "Patrick" <
pat...@flynn-media.com>
To: "Lucee" <
lu...@googlegroups.com>
Sent: Friday, January 20, 2017 8:57:15 AM
Subject: Re: [Lucee] Mura 7 producing 404 error
Thanks for that help, that did the trick. I do have a question though, why
wouldnt <url-pattern>/index.cfm/*</url-pattern> do the trick? Is there
something at the application level that I could do so I do not have to
modify the server conf for every app? Thanks,
On Friday, January 20, 2017 at 2:49:20 AM UTC-5, Mark Drew wrote:
>
> Yeah. If it is just express you need to add the mapping to Tomcat. In
> config/web.xml add:
>
> /APPS/mura-app/index.cfm/*
>
> To the servlet mapping entry.
> Mark Drew
> - Sent by typing with my thumbs.
>
> On 20 Jan 2017, at 07:12, Patrick <
pat...@flynn-media.com <javascript:>>
> wrote:
>
> I am running Lucee 5.1.1.61-SNAPSHOT and when I successfully install Mura
> 7 I can see the initial site page but when I create a new page I get a
> Tomcat 404 error. The url when I receive the 404 is any page other than the
> homepage so:
http://127.0.0.1/APPS/mura-app/index.cfm/test/ . So is
> there a configuration issue with Mura or something specific I need to do
> for URL rewriting on my local instance of Lucee or a configuration issue
> with Mura? Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Lucee" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
lucee+un...@googlegroups.com <javascript:>.
> To post to this group, send email to
lu...@googlegroups.com <javascript:>.
> <
https://groups.google.com/d/msgid/lucee/d5363478-306a-44b8-bb8c-185ce9da278e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
--
You received this message because you are subscribed to the Google Groups "Lucee" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
lucee+un...@googlegroups.com.
To post to this group, send email to
lu...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/0ea52658-9340-45de-826e-b734733ecda4%40googlegroups.com.