[opencms-dev] Site-Management
Martin Kuba
makub at ics.muni.cz
Mon Jun 21 10:25:02 CEST 2004
Peter Dawkins wrote:
> add the required folder structure under the sites folder in the workplace,
> then configure your opencms.properties so that opencms knows about this site
>
> ... look at the lines containing
> site.root.list=http://localhost:8080|/sites/default/
> site.root.default=/sites/default/
You will also need to set up virtual webservers, so let's say
that you have two sites www.site1.org and www.site2.org.
Then create in VFS two folders:
/sites/site1
/sites/site2
and publish them. Then stop OpenCMS, change
webapps/WEB-INF/config/opencms.properties so that the two lines are:
site.root.list=http://www.site1.org|/sites/site1/,http://www.site2.org|/sites/site2/
site.root.default=/sites/site1/
and start OpenCMS. Now when you access the two webservers,
you should see two different sites.
Martin
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Supercomputing Center Brno Martin Kuba
Institute of Computer Science email: makub at ics.muni.cz
Masaryk University http://www.ics.muni.cz/~makub/
Botanicka 68a, 60200 Brno, CZ mobil: +420-603-533775
--------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2847 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040621/8db2785f/attachment.bin>
More information about the opencms-dev
mailing list