Hi Paul,

This is sligthly different question, but definetly under the same root.
Can you please explain a bit how you are managing multiple websites in
one instance, because there are few solutions (not complete though)
which says that for multiple websites you can duplicate left hand menu
i.e. left hand menu is going to grow as the number of sites grow... And
so on other e.g roles etc.

1- How are you doing multiple websites
2- How permissions are being handled
3- Activations
4- Do you have to tweak "sitemap", "search" and "navtigational" buit-in
tags or the just work out of box

If you could throw some light on these things that would be really
really helpful... Cuz at the moment we are managing 10 mini webistes for
the same company but I am doing them in separate tomcate instances i.e.
using CATALINA_BASE which some how gives you more reliability in a sense
if one instance goes down at least other 9 are fine... But I do want to
know how things are working in one instance because that is easy to
manage and that is the right way of using a CMS :-). I am using mag
2.1.5 in linux environment.


Best regards,

Salman

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] 
Sent: 26 July 2007 22:56
To: [email protected]
Subject: Re: [magnolia-user] Multiple websites in one instance

A slight refinement to my reverse proxy setup.

In Magnolia, my sites are each hung off a separate node.  In my previous
proxy, I rewrote a request for "/" to read "/ai/index.html" to start at
the right level.  I was intending to do this redirection (from "/ai/" to
"/ai/index.html") in Magnolia, but for some reason* I couldn't seem to
make it happen.

So I added to my Apache Virtual Server definitions the following two
lines, placed after the server names and before the proxy definitions:

    RewriteEngine on
    RewriteRule ^/$ /index.html [P]

Notes:

I also had to enable mod_rewrite, of course.

The rule simply changes a URL (before redirection) of "/" to
"/index.html"; it then invokes mod_proxy (by the [P]) to complete the
rewriting uniform with all other URLs.  URLs which are not trapped by
the rewrite rule pass straight to the proxy rules in any case.

I now have all my sites working through this mechanism, and will make it
live tonight or tomorrow morning after a little more testing.

Paul

* I tried VirtualURLMapping with no success; and couldn't understand the
Wiki articles about redirection templates - sadly, they assume a higher
level of familiarity with templating than I yet have.

-- 

Paul Hodges



----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to