The UrlRoutesProperty actually will generate a rewrite rules file for you and one of them is a generic rule for non-route URLs (i.e. URLs with an event parameter and event name in there). Adding the generic rewrite rule for these types of events will solve your problem.
.pjf larryb said the following on 07/21/2010 04:00 PM: > Peter. > Thanks for your help. I couldn't figure out how to configure IIS but > at least I know its a problem with delimiters; I've moved back to ?&= > and started using the base tag. That is, I deleted the following > lines from my configuration. > <property name="urlParseSES" value="true" /> > <property name="urlDelimiters" value="/|/|/" /> > Note I kept: > <property name="urlBase" value="" /> > > I also added <base href="http(s)://mydomain/"> in the header section > so I don't get links like http://mydomain/login?event=ViewOrders. > > M2 developers I might not know enough about this topic but I think it > would be useful to have two urlBase parameters; one for BuildUrl and > one for BuildRouteUrl. If I had both parameters I could have set the > base for BuildUrl to "/index.cfm" because I don't care about SES for > pages that do not have routes. This would eliminate the need for the > base tag. > > Thanks again. > > On Jul 21, 2:59 pm, "Peter J. Farrell" <[email protected]> wrote: > >> larryb said the following on 21/07/10 11:52:> I believe you are correct, the >> period at the end of the message is >> >>> being interpreted as a file extension delimiter. Any idea how to fix >>> this? >>> >> One of the problems is that on Win, you cannot have trailing periods in >> folder names. The GUI allows you to do it, but there is actually a lot >> of crud behind the scenes to show that in the GUI. This is another >> limitation of the NTFS file system on Windows. >> >> I suspect you are seeing the same issue defined >> here:http://www.eggheadcafe.com/forumarchives/inetserveriis/Sep2005/post23... >> >> Looks like you can adjust the UrlScan.ini to allow periods in folder >> names. It's disallowed by default. The reason you are seeing the 404 I >> suspect is the "fast fail response" (throwing a 404) that UrlScan is >> doing. You can turn that off to see the real reason that UrlScan is >> rejecting the URL. >> >> HTH, >> .Peter >> > -- You received this message because you are subscribed to Mach-II for CFML list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en ***New URLs as of April 29th, 2010*** SVN: http://svn.mach-ii.com/machii/ Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/
