[opencms-dev] RE: opencms-dev Digest, Vol 15, Issue 2

Rene Ramirez prez at rarewebdesign.sytes.net
Tue Nov 16 14:57:00 CET 2004


I did not know that the recommended way was to place the sites inside the
default folder.  I will do that and call it a day.  Thank you all for your
help.

Rene

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of
opencms-dev-request at opencms.org
Sent: Tuesday, November 16, 2004 3:00 AM
To: opencms-dev at opencms.org
Subject: opencms-dev Digest, Vol 15, Issue 2

Send opencms-dev mailing list submissions to
	opencms-dev at opencms.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.opencms.org/mailman/listinfo/opencms-dev
or, via email, send a message with subject or body 'help' to
	opencms-dev-request at opencms.org

You can reach the person managing the list at
	opencms-dev-owner at opencms.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of opencms-dev digest..."


Today's Topics:

   1. RE: about <cms:contentcheck> tag (Alexander Kandzior)
   2. Templating with version 6 alpha 2 (Jesus Rodriguez)
   3. OpenCms 5  static export (Gregg Howard)
   4. Re: OpenCms 5  static export (Thomas Maerz)
   5. Re: OpenCms 5  static export (Gregg Howard)
   6. best-practice approach to handling permissions (Alexis Torreno)
   7. static export only exports static files (Dieter Tengelmann)
   8. Changing 'explorer_files_new_page' (Eric Hein)
   9. Adding Sites (Rene Ramirez)
  10. How to config 2 Opencms use 1 DB to separate view	page and
      another foradmininstration (edit add update delete)? (cdg3472)
  11. Re: How to config 2 Opencms use 1 DB to separate	view page
      and another foradmininstration (edit add update delete)?
      (Tristan Tarrant)
  12. RE: static export only exports static files (Alexander Kandzior)
  13. RE: Adding Sites (Alexander Kandzior)
  14. Re: Adding Sites (Desmond Bothma)
  15. RE: Adding Sites (Alexander Kandzior)


----------------------------------------------------------------------

Message: 1
Date: Mon, 15 Nov 2004 13:13:56 +0100
From: "Alexander Kandzior" <alex at opencms.org>
Subject: RE: [opencms-dev] about <cms:contentcheck> tag
To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
Message-ID: <mailman.0.1100602801.30884.opencms-dev at opencms.org>
Content-Type: text/plain;	charset="iso-8859-1"

Stephan,

Sounds like a good idea. As you probably know the implementations of the
contentXXX tags are in org.opencms.jsp in the CmsJspTagContentXXX classes.
If you could provide a patch against these that would be great.

FYT: It's likley that the "index" attribute of the "contentshow" tag will be
removed soon. The replacement mechanism is already in place, you will have
to <contentshow element="Title[0]"/> instead of <contentshow element="Title"
index="0"/>. 

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com

 

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of 
> Hartmann, Waehrisch & Feykes GmbH
> Sent: Monday, November 15, 2004 11:55 AM
> To: The OpenCms mailing list
> Subject: [opencms-dev] about <cms:contentcheck> tag
> 
> Hi Developers, hi list,
> 
> first of all i have to say that the new XML content mechanism 
> ist quite exactly what OpenCms was missing most. Thanks for it!
> 
> In a current project i came to the point where i had to 
> create a new XML content which is not too complex but needs 
> some conditional checking to decide which content to show. 
> The contentcheck-tag seemed to be the way to check the 
> existance of a value, but i found it not very useful. It only 
> checks if the XML Content contains the defined element(s) but 
> does not check if it is empty or not.
> But in most cases you already know which elements an XML 
> content contains but you need to know if they are empty or not.
> A simple example is to display a link only if it is not empty.
> 
> Anyway, i thought there is already a very powerful tag 
> library to perform conditional checks, so i turned to use the 
> jstl. It is just a little cumbersome to bring the values to 
> scoped variables. Therefor it would be nice to have an 
> additional attribute "var" for the contentshow tag to expose 
> the value of the named element to this variable instead of 
> writing it to the output. If no element is given, export all 
> elements to a map. Elements that occur multiple times would 
> become a list.
> 
> The implementation should be quite simple and if others will 
> find it useful i will see if i can do it.
> 
> Regards,
> Stephan
> 
> 
> Stephan Hartmann
> 
> Unternehmensberatung Währisch & Feykes GmbH Gustav-Adolf-Str. 
> 5, 47057 Duisburg
> eMail: hartmann at waehrisch-feykes.de
> Internet: www.waehrisch-feykes.de
> Tel. +49 203 373070, Fax. +49 203 376766
> 
> Ausschlusserklärung (Disclaimer):
> Über das das Internet versandte e-mails können unter fremden 
> Namen erstellt oder manipuliert werden. Aus diesem Grund 
> enthalten unsere mit e-mail verschickten Nachrichten 
> grundsätzlich keine rechtsverbindlichen Willenserklärungen.
> 
> 
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list To 
> change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 


------------------------------

Message: 2
Date: Mon, 15 Nov 2004 15:03:09 +0100
From: Jesus Rodriguez <rodpemail-opencms at yahoo.es>
Subject: [opencms-dev] Templating with version 6 alpha 2
To: opencms-dev at opencms.org
Message-ID: <4198B71D.3030107 at yahoo.es>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi all.

I have a problem crating templates with OpenCms version 6 alpha2. I have 
created a JSP template as follows:

<%@ page session="false" %>
<%@ taglib prefix="cms" uri="http://www.opencms.org/taglib/cms" %>
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title><cms:property name="title" escapeHtml="true" /></title>
<meta HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; 
CHARSET=<cms:property name="content-encoding" default="ISO-8859-1" />
<link type= "text/css" 
href="<cms:link>../resources/mystyle.css</cms:link>">
</head>
<body>
<h2>Template head</h2>
<!-- Main pagebody starts here -->
<cms:include element= "body"/>
<!--Main pagebody ends here -->
<h2>Template foot</h2>
</body>
</html>

When I create a page using this template and I add content using the 
WYSIWYG editor, sometimes the HTML content added with the Editor is not 
visible on the page. Why? I have created two pages with this template 
and the first one does not show the content and the second one does. It 
is my foult? It is version alpha2 foult?

Thanks, JR

------------------------------

Message: 3
Date: Mon, 15 Nov 2004 17:43:29 +0200
From: Gregg Howard <greggh at ultrasoft.co.za>
Subject: [opencms-dev] OpenCms 5  static export
To: opencms-dev at opencms.org
Message-ID: <4198CEA1.1060001 at ultrasoft.co.za>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Good day All,
 
I would like to export a specific folder in OpenCms into a static 
format. I have tried setting the export parameter to true and I have 
given my folder an export name of the nature "/exportname/". The export 
parameters in the opencms.properties is configured with a default of true.
 
I then proceed to my online screen and select the administration screen. 
I then perform a static export, but the log constantly reflect that it 
is skipping my folder. What am I doing wrong? How should I go about this?

Gregg

------------------------------

Message: 4
Date: Mon, 15 Nov 2004 16:57:48 +0100
From: Thomas Maerz <thomasmaerz at gmx.de>
Subject: Re: [opencms-dev] OpenCms 5  static export
To: The OpenCms mailing list <opencms-dev at opencms.org>
Message-ID: <847jonf6kj.fsf at gmx.de>
Content-Type: text/plain; charset=us-ascii

Gregg Howard <greggh at ultrasoft.co.za> writes:

>  I then proceed to my online screen and select the administration
>  screen. I then perform a static export, but the log constantly
>  reflect that it is skipping my folder. What am I doing wrong? How
>  should I go about this?

If you set +r to guest user and you have pages in that folder using a
template, read 

http://mail.opencms.org/pipermail/opencms-dev/2004q4/013651.html


Regards,
Thomas


------------------------------

Message: 5
Date: Mon, 15 Nov 2004 18:13:49 +0200
From: Gregg Howard <greggh at ultrasoft.co.za>
Subject: Re: [opencms-dev] OpenCms 5  static export
To: The OpenCms mailing list <opencms-dev at opencms.org>
Message-ID: <4198D5BD.2060404 at ultrasoft.co.za>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Thanks Thomas.  I'll try that.

Gregg

Thomas Maerz wrote:

>Gregg Howard <greggh at ultrasoft.co.za> writes:
>
>  
>
>> I then proceed to my online screen and select the administration
>> screen. I then perform a static export, but the log constantly
>> reflect that it is skipping my folder. What am I doing wrong? How
>> should I go about this?
>>    
>>
>
>If you set +r to guest user and you have pages in that folder using a
>template, read 
>
>http://mail.opencms.org/pipermail/opencms-dev/2004q4/013651.html
>
>
>Regards,
>Thomas
>
>
>
>_______________________________________________
>This mail is send to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please visit
>http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>
>  
>

------------------------------

Message: 6
Date: Mon, 15 Nov 2004 15:59:43 -0500
From: Alexis Torreno <alexis at tsworld.com>
Subject: [opencms-dev] best-practice approach to handling permissions
To: <opencms-dev at opencms.org>
Message-ID: <BDBE82EF.9CFC%alexis at tsworld.com>
Content-Type: text/plain; charset="us-ascii"

Hello,

We are using openCms for a client's global website. They will have
approximately one content manager for each of their countries (140+).

I need to set up permissions such that each content manager only has access
to their country's folder. Projects lend themselves well to this
requirement, except every user in the users group has access to every
project (unless there's something I'm missing).

What is the best way to set up permissions/projects/groups/etc. to
accommodate this requirement?

Thanks,

Al

Alexis Torreno 
Web Developer

TAYLOR|SPRULES CORPORATION
66 The Esplanade
Toronto, ON M5E 1A6
Voice 416 362 4833 ext:246
Fax 416 362 5824

http://www.tsworld.com


----------------------------------------------------------------------------
This transmission is confidential and intended solely for the person(s)
or organization(s) to whom it is addressed.  If you have received this
message in error or are not the named recipient(s), please notify the
sender immediately and delete the message.
----------------------------------------------------------------------------



-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.opencms.org/pipermail/opencms-dev/attachments/20041115/b6c9690f
/attachment-0001.html

------------------------------

Message: 7
Date: Tue, 16 Nov 2004 01:09:27 +0100
From: Dieter Tengelmann <tengelmann at chefmail.de>
Subject: [opencms-dev] static export only exports static files
To: opencms-dev at opencms.org
Message-ID: <41994537.2000303 at chefmail.de>
Content-Type: text/plain; charset=us-ascii; format=flowed

Hi,

please can anybody say me, how to use the static export feature in 6.0
I've got a jsp-template and I want to export all html-files...
but only pictures, word-documents etc. are exported...
no html-files

Here I always get a error message like below...
Must there be a special configuration,
what is this "export user", what's his password, must I do the static 
export as "export user?

thank you for your help



Exception java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at 
org.opencms.staticexport.CmsStaticExportManager.exportTemplateResources(CmsS
taticExportManager.java:1505)
at 
org.opencms.staticexport.CmsStaticExportManager.doExportAfterPublish(CmsStat
icExportManager.java:1326)
at 
org.opencms.staticexport.CmsStaticExportManager.exportFullStaticRender(CmsSt
aticExportManager.java:530)
at 
org.opencms.threads.CmsStaticExportThread.run(CmsStaticExportThread.java:87)


------------------------------

Message: 8
Date: Mon, 15 Nov 2004 18:39:03 -0800
From: "Eric Hein" <ehein at lozoic.com>
Subject: [opencms-dev] Changing 'explorer_files_new_page'
To: "The OpenCms mailing list" <opencms-dev at opencms.org>
Message-ID: <001b01c4cb85$736ae250$4101fa0a at home.lozoic.com>
Content-Type: text/plain;	charset="iso-8859-1"

I need to change the 'explorer_files_new_page' template of the "Create new
page" wizard in the explorer.  I have changed this file and added it to the
opencms.war file and I have added it in the
...tomcat\webapps\opencms\WEB-INF\ocsetup\vfs\system\workplace\templates
subdir.  But even after I restart tomcat the changed template does not
appear.  Can anyone suggest what might be the problem here?

Thanks,
Eric


------------------------------

Message: 9
Date: Mon, 15 Nov 2004 19:13:47 -0800
From: "Rene Ramirez" <prez at rarewebdesign.sytes.net>
Subject: [opencms-dev] Adding Sites
To: <opencms-dev at opencms.org>
Message-ID:
	
<!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAee5mW/wHv0u3WkygBbXGe8KAAAAQ
AAAAf7FNgK3yWEyGd0Z2+51ySAEAAAAA at rarewebdesign.sytes.net>
	
Content-Type: text/plain; charset="us-ascii"

I know this topic has been discussed, but none of the suggestions seem to
work for OpenCms v 6.0 alpha2.  what I want to do is add a site so that I
have (under the site drop down menu): /, /default, /mysite1, /mysite2, etc..

 

When working with the offline files, I can view the site I create just fine,
but I cant point my browser to it (see below):

 

Site: /default/ = http://rarewebdesign.sytes.net:8080/opencms/opencms/

Site: /mysite1/ =
http://rarewebdesign.sytes.net:8080/opencms/opencms/sites/main/

 

Or something like that.

 

Any help would be appreciated.  Again, I have read all the previous posts,
but none seem to work for OpenCms v 6.0 alpha 2.  Maybe this could be a
feature added to the next build of OpenCms (an easy way to add new sites).

 

Thanks in advance,

 

Rene

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.opencms.org/pipermail/opencms-dev/attachments/20041115/1edf87f1
/attachment-0001.html

------------------------------

Message: 10
Date: Tue, 16 Nov 2004 11:59:41 +0700
From: cdg3472 <kosol.t at g-able.com>
Subject: [opencms-dev] How to config 2 Opencms use 1 DB to separate
	view	page and another foradmininstration (edit add update
delete)?
To: opencms-dev at opencms.org
Message-ID: <4199893D.5070201 at g-able.com>
Content-Type: text/plain; charset=windows-874; format=flowed

Dear all
    I have some problem about configuration.
- Can i have two opencms servers that use same DB. One server for view 
webpage only and the other for admin to
edit, add, update, delete pages?
- Do you have sugestion?


Best regards, and Thank you for advance.
Tar
-----------------------
kosol.t at g-able.com

------------------------------

Message: 11
Date: Tue, 16 Nov 2004 08:54:01 +0100
From: Tristan Tarrant <ttarrant at etnoteam.it>
Subject: Re: [opencms-dev] How to config 2 Opencms use 1 DB to
	separate	view page and another foradmininstration (edit add
update
	delete)?
To: OpenCMS <opencms-dev at opencms.org>
Message-ID: <1100591642.4697.3.camel at etp2933>
Content-Type: text/plain; charset="us-ascii"

Skipped content of type multipart/alternative-------------- next part
--------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2121 bytes
Desc: not available
Url :
http://lists.opencms.org/pipermail/opencms-dev/attachments/20041116/77484238
/smime-0001.bin

------------------------------

Message: 12
Date: Tue, 16 Nov 2004 09:23:31 +0100
From: "Alexander Kandzior" <alex at opencms.org>
Subject: RE: [opencms-dev] static export only exports static files
To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
Message-ID: <mailman.1.1100602801.30884.opencms-dev at opencms.org>
Content-Type: text/plain;	charset="US-ASCII"

Your error message says that your server can't create a http connection to
itself, which is required for the JSP export (or template based page
export). Propably you have either some firewall or some DNS
misconfiguration. 

The export user is the user under which permissions the static export is
done. So if the export user has "read" access to a resource, OpenCms will
consider this resource for export. The password of the export user is a
random UUID and not needed since OpenCms handles this user automatically.

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com

 

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Dieter 
> Tengelmann
> Sent: Tuesday, November 16, 2004 1:09 AM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] static export only exports static files
> 
> Hi,
> 
> please can anybody say me, how to use the static export 
> feature in 6.0 I've got a jsp-template and I want to export 
> all html-files...
> but only pictures, word-documents etc. are exported...
> no html-files
> 
> Here I always get a error message like below...
> Must there be a special configuration,
> what is this "export user", what's his password, must I do 
> the static export as "export user?
> 
> thank you for your help
> 
> 
> 
> Exception java.net.ConnectException: Connection refused: 
> connect at java.net.PlainSocketImpl.socketConnect(Native 
> Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) 
> at java.net.PlainSocketImpl.connectToAddress(Unknown Source) 
> at java.net.PlainSocketImpl.connect(Unknown Source) at 
> java.net.Socket.connect(Unknown Source) at 
> java.net.Socket.connect(Unknown Source) at 
> sun.net.NetworkClient.doConnect(Unknown Source) at 
> sun.net.www.http.HttpClient.openServer(Unknown Source) at 
> sun.net.www.http.HttpClient.openServer(Unknown Source) at 
> sun.net.www.http.HttpClient.<init>(Unknown Source) at 
> sun.net.www.http.HttpClient.<init>(Unknown Source) at 
> sun.net.www.http.HttpClient.New(Unknown Source) at 
> sun.net.www.http.HttpClient.New(Unknown Source) at 
> sun.net.www.http.HttpClient.New(Unknown Source) at 
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unkno
> wn Source) at 
> sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at
> org.opencms.staticexport.CmsStaticExportManager.exportTemplate
> Resources(CmsStaticExportManager.java:1505)
> at
> org.opencms.staticexport.CmsStaticExportManager.doExportAfterP
> ublish(CmsStaticExportManager.java:1326)
> at
> org.opencms.staticexport.CmsStaticExportManager.exportFullStat
> icRender(CmsStaticExportManager.java:530)
> at
> org.opencms.threads.CmsStaticExportThread.run(CmsStaticExportT
> hread.java:87)
> 
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list To 
> change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 


------------------------------

Message: 13
Date: Tue, 16 Nov 2004 09:28:24 +0100
From: "Alexander Kandzior" <alex at opencms.org>
Subject: RE: [opencms-dev] Adding Sites
To: "'The OpenCms mailing list'" <opencms-dev at opencms.org>
Message-ID: <mailman.2.1100602801.30884.opencms-dev at opencms.org>
Content-Type: text/plain; charset="us-ascii"

What you try to acive is not possible. Each site must have a different
server name / port combination, So having 2 sites under
http://xy.sytes.net:8080 is impossible. You must configure it for one site
at http://xy.sytes.net:8080 <http://xy.sytes.net:8080/>  and the other at
http://xy.sytes.net:8081.
 
Also, the sites must be is separate folders that have no parent - child
relationship. Best way to do this is putting all sites under /sites/default/
as recommended. 

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com <http://www.alkacon.com/> 



 


  _____  

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Rene Ramirez
Sent: Tuesday, November 16, 2004 4:14 AM
To: opencms-dev at opencms.org
Subject: [opencms-dev] Adding Sites



I know this topic has been discussed, but none of the suggestions seem to
work for OpenCms v 6.0 alpha2.  what I want to do is add a site so that I
have (under the site drop down menu): /, /default, /mysite1, /mysite2, etc..

 

When working with the offline files, I can view the site I create just fine,
but I cant point my browser to it (see below):

 

Site: /default/ = http://rarewebdesign.sytes.net:8080/opencms/opencms/

Site: /mysite1/ =
http://rarewebdesign.sytes.net:8080/opencms/opencms/sites/main/

 

Or something like that.

 

Any help would be appreciated.  Again, I have read all the previous posts,
but none seem to work for OpenCms v 6.0 alpha 2.  Maybe this could be a
feature added to the next build of OpenCms (an easy way to add new sites).

 

Thanks in advance,

 

Rene

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.opencms.org/pipermail/opencms-dev/attachments/20041116/8b97c04c
/attachment.html

------------------------------

Message: 14
Date: Tue, 16 Nov 2004 10:49:37 +0200
From: Desmond Bothma <desmondb at gmail.com>
Subject: Re: [opencms-dev] Adding Sites
To: The OpenCms mailing list <opencms-dev at opencms.org>
Message-ID: <5892bfa904111600494a1f9e1 at mail.gmail.com>
Content-Type: text/plain; charset=US-ASCII

Hi Alex

Do recommend setting up sites as follows:

/sites/site1
/sites/site2

or is it:

/sites/default/site1
/sites/default/site2

and what is the reason for the setup in this way?

thanks
Desmond


On Tue, 16 Nov 2004 09:28:24 +0100, Alexander Kandzior <alex at opencms.org>
wrote:
> 
> What you try to acive is not possible. Each site must have a different
> server name / port combination, So having 2 sites under
> http://xy.sytes.net:8080 is impossible. You must configure it for one site
> at http://xy.sytes.net:8080 and the other at http://xy.sytes.net:8081.
>  
> Also, the sites must be is separate folders that have no parent - child
> relationship. Best way to do this is putting all sites under
/sites/default/
> as recommended. 
> 
> Best Regards,
> Alex.
> 
> Alexander Kandzior
> Alkacon Software - The OpenCms Experts
> http://www.alkacon.com
> 
> 
>  
> 
> 
> ________________________________
> From: opencms-dev-bounces at opencms.org
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Rene Ramirez
> Sent: Tuesday, November 16, 2004 4:14 AM
> To: opencms-dev at opencms.org
> Subject: [opencms-dev] Adding Sites
> 
> 
> 
> 
> 
> 
> 
> I know this topic has been discussed, but none of the suggestions seem to
> work for OpenCms v 6.0 alpha2.  what I want to do is add a site so that I
> have (under the site drop down menu): /, /default, /mysite1, /mysite2,
etc..
> 
>  
> 
> When working with the offline files, I can view the site I create just
fine,
> but I cant point my browser to it (see below):
> 
>  
> 
> Site: /default/ = http://rarewebdesign.sytes.net:8080/opencms/opencms/
> 
> Site: /mysite1/ =
> http://rarewebdesign.sytes.net:8080/opencms/opencms/sites/main/
> 
>  
> 
> Or something like that.
> 
>  
> 
> Any help would be appreciated.  Again, I have read all the previous posts,
> but none seem to work for OpenCms v 6.0 alpha 2.  Maybe this could be a
> feature added to the next build of OpenCms (an easy way to add new sites).
> 
>  
> 
> Thanks in advance,
> 
>  
> 
> Rene
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
>

------------------------------

Message: 15
Date: Tue, 16 Nov 2004 10:40:38 +0100
From: "Alexander Kandzior" <alex at opencms.org>
Subject: RE: [opencms-dev] Adding Sites
To: <desmondb at saratoga.co.za>,	"'The OpenCms mailing list'"
	<opencms-dev at opencms.org>
Message-ID: <mailman.3.1100602801.30884.opencms-dev at opencms.org>
Content-Type: text/plain;	charset="US-ASCII"

You are right, my mail was not precise. 

The recommendation is to organize sites like this:

/sites/default 
/sites/site1
/sites/site2
etc. 

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com

 

> -----Original Message-----
> From: opencms-dev-bounces at opencms.org 
> [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Desmond Bothma
> Sent: Tuesday, November 16, 2004 9:50 AM
> To: The OpenCms mailing list
> Subject: Re: [opencms-dev] Adding Sites
> 
> Hi Alex
> 
> Do recommend setting up sites as follows:
> 
> /sites/site1
> /sites/site2
> 
> or is it:
> 
> /sites/default/site1
> /sites/default/site2
> 
> and what is the reason for the setup in this way?
> 
> thanks
> Desmond
> 
> 
> On Tue, 16 Nov 2004 09:28:24 +0100, Alexander Kandzior 
> <alex at opencms.org> wrote:
> > 
> > What you try to acive is not possible. Each site must have 
> a different 
> > server name / port combination, So having 2 sites under 
> > http://xy.sytes.net:8080 is impossible. You must configure 
> it for one 
> > site at http://xy.sytes.net:8080 and the other at 
> http://xy.sytes.net:8081.
> >  
> > Also, the sites must be is separate folders that have no parent - 
> > child relationship. Best way to do this is putting all sites under 
> > /sites/default/ as recommended.
> > 
> > Best Regards,
> > Alex.
> > 
> > Alexander Kandzior
> > Alkacon Software - The OpenCms Experts http://www.alkacon.com
> > 
> > 
> >  
> > 
> > 
> > ________________________________
> > From: opencms-dev-bounces at opencms.org
> > [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Rene Ramirez
> > Sent: Tuesday, November 16, 2004 4:14 AM
> > To: opencms-dev at opencms.org
> > Subject: [opencms-dev] Adding Sites
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > I know this topic has been discussed, but none of the 
> suggestions seem 
> > to work for OpenCms v 6.0 alpha2.  what I want to do is add 
> a site so 
> > that I have (under the site drop down menu): /, /default, 
> /mysite1, /mysite2, etc..
> > 
> >  
> > 
> > When working with the offline files, I can view the site I 
> create just 
> > fine, but I cant point my browser to it (see below):
> > 
> >  
> > 
> > Site: /default/ = 
> http://rarewebdesign.sytes.net:8080/opencms/opencms/
> > 
> > Site: /mysite1/ =
> > http://rarewebdesign.sytes.net:8080/opencms/opencms/sites/main/
> > 
> >  
> > 
> > Or something like that.
> > 
> >  
> > 
> > Any help would be appreciated.  Again, I have read all the previous 
> > posts, but none seem to work for OpenCms v 6.0 alpha 2.  Maybe this 
> > could be a feature added to the next build of OpenCms (an 
> easy way to add new sites).
> > 
> >  
> > 
> > Thanks in advance,
> > 
> >  
> > 
> > Rene
> > 
> > 
> > _______________________________________________
> > This mail is send to you from the opencms-dev mailing list 
> To change 
> > your list options, or to unsubscribe from the list, please visit 
> > http://mail.opencms.org/mailman/listinfo/opencms-dev
> > 
> >
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list To 
> change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 


------------------------------

_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev

End of opencms-dev Digest, Vol 15, Issue 2
******************************************







More information about the opencms-dev mailing list