[opencms-dev] Am I on the right track?
Mark Phillips
mark at phillipsmarketing.biz
Wed Sep 13 03:03:45 CEST 2006
Christian,
Thanks for the information. I thought I would add the apache proxy stuff
later.
My overall goal is to do an "end to end" test of creating a web site with
OpenCms. So, after the test site is done, I need to be able to move it from
my development server to a production server. That was part of my motivation
for asking the question about the "right way to build a web site".
I have been doing some more reading, and I think I have to start with a module
so I can export the module to another instance of OpenCms. Is this correct if
I want to move the site to another server? Do I have to somehow copy the
templateOne to another module? I don't want to change the current templateOne
demo pages, just create my own site using it.
At this point, I am staring to confuse myself!
Thanks for any thoughts you might have.
Mark
On Tuesday 12 September 2006 01:05 pm, Christian Steinert wrote:
>
> > I am trying to learn how to use OpenCms by building a little test site. Am
I
> > building the site correctly? By correctly, I mean is this the way to build
a
> > new site using OpenCms?
> >
> > 1. Create a folder /sites/test in the OpenCms worpkplace
> > 2. Edit TOMCAT_HOME/conf/server.conf to add a new connector on port 8081
> > 3. Edit opencms-system-xml to add a new site:
> > <site server="http://localhost:8081" uri="sites/test" />
> >
> > I created an index.html in the /sites/test folder and I can access it from
> > localhost:8081/opencms/opencms so this works. Just not sure if this is the
> > way to proceed.
> >
> > Now, if I want to change the head image for this test site, do I create an
> > Image Gallery under /sites/test, upload the image
>
>
> Until here, everything you do is perfectly fine.
>
> If you use apache in front of tomcat, then you would have to add some
mod_rewrite and some java connector stuff there, so that www.testsite.com
will actually be forwarded to www.testsite.com:8081/opencms/opencms.
>
> OR, you could live without Mod_reqwrite, configure your java connector, make
your opencms webapplication into the ROOT application and edit the web.xml of
opencms to change the servlet mapping. This is how I have done it.
>
> OR, if you can live with /opencms/opencms/ <nd want to use apache in front
then you can use only plain java connector, without caring about the URL
Prefixes.
> ___
>
> The other questions I can't answer, because I have never worked with
templateOne
>
> hth
> christian
> _______________________________________________________________________
> Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
> Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
--
Mark Phillips
VP Softball
Arcadia Little League
www.ArcadiaLittleLeague.org
mark at phillipsoasis.com
602 524-0376
--
Mark Phillips
Phillips Marketing, Inc
mark at phillipsmarketing.biz
602 524-0376
480 945-9197 fax
More information about the opencms-dev
mailing list