Hi All,

I am using url routing in my web site. I also have multiple domain
names that link to the same root folder.

The main domain works fine with all the routed urls. However the
secondary domains generate page not found.

here is an example:

Routing Rules class
rules.Add(new PatternRoute("/<controller>/<categoryName>/
<categoryId>/")
....


Category Links (in View)
#foreach($Category in $Categories)
        <li>$Url.Link($Category.Name, "%{controller='specials',
action='searchresult', params={categoryId=$Category.Id, categoryName=
$Category.Name}")</li>
#end


Source of problem:
http://maindomain.com/specials/category1/1         <-works great

http://secondarydomain.com/specials/category1/1  <-page not found
error

Does anyone know why this is happening and how to resolve this?

Thanks

Eyal

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
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/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to