Matteo Pelucco schrieb:

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.

I think that's the good solution, or did you encounter any problems with this setup?

The main problem might be absolute paths, but these should be avoided anyway and hence it forces you to always use relative paths ;-)

Any suggestion?

In the case of Tomcat as webapp server you can also define virtual hosts and hence map onto various webapps, whereas I am not sure if you can also map onto something like

WEBAPP_PREFIX/SITE_PREFIX/

HTH

Michael

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