<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=461370317-11122005>Alireza,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=461370317-11122005></SPAN></FONT> </DIV>
<DIV><FONT><SPAN class=461370317-11122005>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><FONT
face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=461370317-11122005>>> </SPAN>1) Should we create each site as a
module, because they have their own template, or should we simply define each
site as a folder?</FONT></FONT></FONT></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><FONT face=Arial
color=#0000ff size=2></FONT> </DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff size=2>each site is a
folder under /sites folder and the modules are created under /system/modules
folder, for instance you create:</FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005></SPAN> </DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff
size=2>/sites</FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff size=2>
/default</FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff size=2>
/company1</FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff size=2>
/company2</FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff size=2>
...</FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff size=2>now you can
create for each company 1 module under /system/modules</FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff
size=2>/system/modules</FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff size=2>
/com.company1.frontend</FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff
size=2> ....</FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff
size=2> /elements</FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff
size=2>
foot-company1</FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff
size=2> /templates</FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff
size=2>
content-template-company1</FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff
size=2> </FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff size=2>
/com.company2.frontend</FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff
size=2> ...</FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff
size=2> /elements</FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff
size=2>
foot-company2</DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left">
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff
size=2> /templates</FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff
size=2>
content-template-company2</FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005></SPAN> </DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005></SPAN> </DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005>now you shall set the permissions for
content-template-company1 so that the company 2 members can't select the
content template of company1 from the dropdown menue, by denying the view
permissions for this template to company2 members and vice versa.</SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005></SPAN> </DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005>The other scenario could be to have one module for all
companies (which I don't highly recommend, but it could be recommendable in some
scenarios). For elements reuse (common elements and resources such as search
element or javascript navigation, which can be used from every content
template) I recommend to hava one master module as</SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005></SPAN> </DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005>/system/modules</SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005> /com.master.frontend</SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005> /elements</SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005> search.jsp</SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005> search-result.jsp</SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005> sitemap.jsp</SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005> /resources</SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005> /js</SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005>
menue-navigation.js</SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005></SPAN> </DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005>and resuse the elements from each module, so that you
don't have to copy and maintain the elements for each company
seperately!</SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005></SPAN> </DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005>Note: the multisite scenario has some weeknesses,
if you want to give administrative rights to members of each company, then
the administrators of company1 can change for instance the passwords of company2
members :-). I this case you shall setup multiple tomcat instances (one tomcat
installation and multiple container definitios) and deploy several
opencms.war's. (I do this, because every of my clients want administartive
rights for themself, for creating users for instance). And the other issue with
multisite is the fact that, if you have to restart tomcat sometimes (for
instance if you create resource definitions for xmlcontent in xml files)
the website of all companies will be down for 1-2 minutes! And if your clients
have to use mail functionalities, you can't define several email
accounts!</SPAN></FONT></SPAN></DIV></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005></SPAN> </DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005></SPAN> </DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005>> 2) How should we configure galleries for each
site?</SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005></SPAN> </DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff size=2>as normal and use
the permissions mechanism described above to give only the possibility to select
galleries for each company seperately (I mean company1 members can't see
the galleries of company2).</FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff size=2>I've created a
new thread on our forum, you are more than welcome to visit and participate to
this thread:</FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff size=2><A
href="http://www.pomegranate.de:9000/cms/forum/viewthread?thread=52">http://www.pomegranate.de:9000/cms/forum/viewthread?thread=52</A></FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005></SPAN> </DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff
size=2>HTH,</FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005></SPAN> </DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff size=2>Kind
Regards,</FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff size=2>Ba salamhaye garm
as Berlin'e sard :-)</FONT></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005></SPAN> </DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff
size=2>Arash</FONT> </SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-bidi-font-size: 12.0pt"><FONT
color=#ff923a><SPAN class=736484818-11102005> </SPAN></FONT><FONT
color=#ff0000>______________________________________</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=2><FONT
face=Verdana><SPAN class=736484818-11102005><FONT color=#ff0000>|</FONT>arash
kaf<SPAN class=518595400-18102005>f</SPAN>amanesh</SPAN></FONT> </FONT></P>
<DIV><FONT face=Verdana color=#ff0000 size=2><SPAN
class=736484818-11102005>|</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=736484818-11102005></SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN class=736484818-11102005><FONT
color=#ff0000>|</FONT>http://www.pomegranate.de</SPAN></FONT></DIV>
<DIV><FONT face=Verdana><SPAN class=736484818-11102005><FONT color=#ff0000
size=2>|global portal & content management
solutions</FONT></SPAN></FONT></DIV>
<DIV><SPAN class=736484818-11102005><SPAN class=736484818-11102005><FONT
face=Verdana><FONT size=2><FONT color=#ff0000>|<SPAN
class=736484818-11102005><SPAN
class=736484818-11102005>______________________________________</SPAN></SPAN></FONT></FONT></FONT></SPAN></SPAN></DIV></SPAN></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><SPAN
class=461370317-11122005><FONT face=Arial color=#0000ff
size=2> </FONT></SPAN></DIV></SPAN></FONT></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <B>On
Behalf Of </B>Mr Alireza Fattahi<BR><B>Sent:</B> Sonntag, 11. Dezember 2005
09:04<BR><B>To:</B> opencms-dev@opencms.org<BR><B>Subject:</B> [opencms-dev]
Site Creation Starategy<BR><BR></FONT></DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left">Hi,</DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left">What is the best
strategy if we want to create and manage many sites with OpenCMS? Each site
has its own look and feel and templates. Each site may have its own users to
update and manage their own site. There will be one manager which has full
access to all sites. </DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left">Of course
because we want to have one tomcat and mysql, we should do what is mentioned
in "Configure OpenCms, httpd and Tomcat to serve multiple sites" document. But
we don’t know that: </DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left">1) Should we
create each site as a module, because they have their own template, or should
we simply define each site as a folder?</DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left">2) How should we
configure galleries for each site?</DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><O:P></O:P><BR>Are
there any best practices out there which suggest a high level infrastructure
configuration with OpenCms?</DIV>
<DIV class=MsoNormal dir=ltr
style="DIRECTION: ltr; unicode-bidi: embed; TEXT-ALIGN: left"><O:P></O:P><BR>Regards,<BR>Alireza
Fattahi</DIV>
<P>
<HR SIZE=1>
<FONT face=Arial size=2>To help you stay safe and secure online, we've
developed the all new <A
href="http://us.rd.yahoo.com/mail/uk/taglines/default/security_centre/*http://uk.security.yahoo.com/"><B>Yahoo!
Security Centre</B></A>.</FONT></BLOCKQUOTE></BODY></HTML>