Hi-

I know this has come up before, but I couldn't find a satifactory solution so 
far.
I have several Websites which I would like to run inside a single magnolia 
instance. So I set up several nodes:

/www.site1.com
 |
 page1
  |
  page11
 page2
/www.site2.com
 |
 ...
/www.site3.com
 |
 ...

which should be accessible as

http://www.site1.com/page1/page11
http://www.site2.com/
etc.

Now while it is easy enough to setup apache virtual hosts to forward 
http://www.site1.com/ to /www.site1.com, http://www.site1.com/
to /www.site2.com, etc. (for example following the instructions in the 
Wiki[1]), the magnolia generated URIs all have the root nodes
in their paths. 
So you get something like:
/www.site1.com/page1/page11 in the navigation, or 
/www.site1.com/page1/mainColumnParagraphs/0/image/myimage.jpg for images.

How can I get rid of the /www.site1.com ?

Is there some link rewriting mechanism in Magnolia, I could use?
Or is there generally a better way to handle a multi-site setup, like using 
separate website repositories for the different sites?

Thanks for any help,

-markus

[1] 
http://www.magnolia.info/wiki/Wiki.jsp?page=RunningSeveralSitesWithOneMagnoliaInstance


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to