You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Induction Framework
While preparing to deploy a client site I was wondering how I could
map / (the root of website) to a view using Induction's view mapping
rules.
I knew Induction did not have explicit support for this, so I expected
that I would just add a Rewrite rule to the Apache server that front-
ends the client site. I also thought that later I would add a feature
in Induction to support this.
But it turned out that there is a way to do it using the recently
added find/replace feature. This techniques can be applied in general
to map an arbitrary URL to a specific view. Ofcourse you should be
using the pattern based rules for 99% of your URLs.
The home page of my client site is view named something like
com.companyname.page.home.SiteHomePage, following is the mapping I
used in the <view-mapping> section: