My article in the wiki describes how to do this in a reverse proxy. It is not necessay to make the internal URLs pretty as the proxy can do it all.

http://wiki.magnolia-cms.com/display/WIKI/Rewrite+URLs+with+Apache

Paul

On 21 Aug 2009, at 17:14, Matteo Pelucco <[email protected]> wrote:


Again here, sorry :-)

We have another question related to multisite environment.

We have a situation like this:

[-] site1 (home page for site1 customer)
   [-] news
   [-] events
[-] site2 (home page for site2 customer)
   [-] news
   [-] events

We want to obtain this behaviour:

http://www.site1.com --> point to /site1
http://www.site2.com --> point to /site2

http://www.site1.com/news.html --> point to /site1/news
http://www.site2.com/news.html --> point to /site2/news

and the link between site1 and news (1) from site1 be:
internal: /news.html
external: http://www.site1.com/news.html

The problem is that from cms we have handles with the prefixes / site1 and /site2.

I'm sure that there will be a good solution, my first option has been to rewrite url internally before page render and to use a reverse proxy in front of magnolia public instances.

Any suggestion?

Matteo


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




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

Reply via email to