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

Isaac R. Higgins isaac.higgins at isaacray.com
Fri Nov 30 14:49:27 CET 2007


I've done a root installation before, but I manually unpacked the WAR file and placed it in
     ...\Tomcat 5.5\webapps\ROOT\

I don't know why, but I didn't even think to rename the .war file.


-----Original Message-----
From: opencms-dev-bounces at opencms.org on behalf of Sandrine Prousteau
Sent: Fri 11/30/2007 5:46 AM
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 <http://lists.opencms.org/mailman/listinfo/opencms-dev> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 4910 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20071130/2d1b4371/attachment.bin>


More information about the opencms-dev mailing list