[opencms-dev] Multisite and /opencms/opencms/

Doru Captar Doru.Captar at electricats.ro
Mon Dec 3 09:09:46 CET 2007


Hi,


 1.  rename the folder /ROOT/ to something else, or delete it;
 2.  put ROOT.war in webapps folder
 3.  delete other OpenCms folders (ex. webapps/opencms, or your webapps/test)
 4.  restart Tomcat
 5.  then you can install OpenCms from the begining http://your_tomcat:8080/root/setup



Doru CAPTAR
Sef Birou Sisteme Informatice Generale

FDEE Electrica Distributie Transilvania Sud S.A.
Str. Pictor Luchian nr. 25, 500193 Brasov

tel. 0 268 305146
mobil 0 728 108374

________________________________
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Sandrine Prousteau
Sent: Friday, November 30, 2007 12:46 PM
To: The OpenCms mailing list; kuku at physik.rwth-aachen.de
Cc: opencms-dev-bounces at opencms.org
Subject: Re: [opencms-dev] Multisite and /opencms/opencms/

Good idea but it doesn't work for me !

I try 2 things:
1 - rename the first occurrence of opencms in /opencms/opencms
2 - delete the occurrence.

So after unzip in my dev folder the .zip, I rename the file opencms.war in
1- test.war
2 - ROOT.war .
Then I run Tomcat to deploy the .war. And I have:
1 - the deployement is in a repertory /test/ it's ok, but
2 - no deployement made with ROOT.war.
Then in case of 1 - I run the setup with the url http:://mylocalhost/test/setup and it works until step 9, it breaks, I have this:

<html><body>HTTP Status 500<br/>

OpenCms is not properly initialized!<br/>

Please make sure that the OpenCms setup wizard has been run once and is disabled now.<br/>

</body></html>



And in case of 2 - I tried, in order to delete the /opencms, to move the contents /WEB-INF /META-INF and /setup directly in the folder where I have unzip, then run Tomcat, then the setup with http:://mylocalhost/setup is correctly runed, but the error is one page login : http:://mylocalhost/opencms/system/login It doesn't work, it want to find http:://mylocalhost/myfolder/opencms/system/login...



Could someone explain how the root application is registered? Thanks


________________________________
De : opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] De la part de Sören Malchow
Envoyé : mercredi 28 novembre 2007 22:18
À : kuku at physik.rwth-aachen.de; The OpenCms mailing list
Cc : The OpenCms mailing list; opencms-dev-bounces at opencms.org
Objet : Re: [opencms-dev] Multisite and /opencms/opencms/


you have to rename the opencms.war to be a ROOT application before installation,

opencms.war -> ROOT.war

then install inside the tomcat webapps dir as usual. that will remove one of the opencms, since you can talk to the opencms as ROOT application so you need only "/"

After that you can change the servlet mapping in the /WEB-INF/web.xml and you can give the servlet any name you want, e.g. /cms or whatever you like,

voilá you can access the login on

http://APACHESERVER/cms/system/login<http://apacheserver/cms/system/login>

hope that helps
soeren

"Christoph P. Kukulies" <kuku at physik.rwth-aachen.de>
Sent by: opencms-dev-bounces at opencms.org

28.11.2007 15:59
Please respond to
kuku at physik.rwth-aachen.de; Please respond to
The OpenCms mailing list <opencms-dev at opencms.org>


To

The OpenCms mailing list <opencms-dev at opencms.org>

cc



Subject

Re: [opencms-dev] Multisite and /opencms/opencms/










Me too. Not IIS but Apache.
I'm using various Virtualhost sections in httpd.conf with Proxy and
ProxyReverse, that map to different ports/connectors in Tomcat server.xml.
And it requires some tweaking of opencms-importexport.xml and
opencms-system.xml.

There was a howto by Sebastian Himberger AFAIK, that can be found in the
list archives.

--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

On Wed, Nov 28, 2007 at 08:53:02AM -0500, Isaac R. Higgins wrote:
>
> yes, I use apache as a reverse proxy.  It lets me have my site served on any name/url for the external and any name/port/url for the internal.
>
> My actual setup is multiple internal IP addresses for the different types of server containers, and apache reverse proxy so they all share 1 public IP on port 80.
>
> Hello,
>
> There is somebody who have installed multisite with IIS, Tomcat, OpenCms and can access without .../opencms/opencms/... ?
>
> Thanks,

_______________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20071203/3c8eadd8/attachment.html>


More information about the opencms-dev mailing list