Some more observations:

- Renaming the site did not help at all since the cleanURI() method takes an 
other hack at the URI a few lines further down if the site name did not match 
with the beginning of the URI.
- Trying to "add" the cut of first segment of the URI with a handle prefix does 
not work either because the handle prefix has to begin with the chopped up URI.
- It seems to me that the mechanism delivering the pages is "MultiSite-aware" 
(knows how to turn a chopped up URI back into a proper handle), but URL ACL 
handling and URISecurityFilter is not. 

This issue [1] seems to have tackled at least the ACL problem, but from the 
description in the issue (see also [2]) it's not really clear how "site-aware" 
ACL rules are setup. I tried

- <mysite>/path/to/some/page
- mysite/path/to/some/page
- and as it was before /mysite/path/to/some/page

but the ACL never kicks in. Any wisdom about this subject out there?

Thanks!
-will


[1] http://jira.magnolia-cms.com/browse/MAGNOLIA-3915
[2] http://jira.magnolia-cms.com/browse/DOCU-244

On 12.08.2012, at 09:43, Will Scheidegger (via Magnolia Forums) wrote:

> Dear Magnolians
> 
> We too are facing problems properly setting up MultiSite. We noticed that the 
> MultiSiteFilter cuts off the first part of the URI if the handle starts with 
> the site name.
> 
> So if we have a site named "mysite" and a handle "/mysite/path/to/some/page" 
> we'll end up with a URI "/path/to/some/page". This works fine for delivering 
> the page but trashes all the URL ACL rules as well as the URISecurityFilter 
> configuration.
> 
> Now before I start playing around renaming the site definition, I wanted to 
> ask what the objective of this cleanURI() method in the MultiSiteFilter is. 
> Maybe I'm simply not seeing the point of it and it all makes sense somehow. 
> So please, if you can, enlighten me :-)
> Thanks!
> 
> -will
> 
> -- 
> Context is everything: 
> http://forum.magnolia-cms.com/forum/thread.html?threadId=30dad6bf-a6e7-4601-b020-1fc5aff93323
> 
> 
> ----------------------------------------------------------------
> For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
> Alternatively, use our forums: http://forum.magnolia-cms.com/
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
> 



----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to