[opencms-dev] virtualhost example/tip sought

Arif leong at dlife.com
Thu Nov 3 17:36:22 CET 2005


Hi Chris:

Do you happen to know how to setup/deploy OpenCMS on Eclipse-Jboss IDE?

Thanks

Arif


-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Christoph P. Kukulies
Sent: Thursday, November 03, 2005 11:27 AM
To: The OpenCms mailing list
Subject: Re: [opencms-dev] virtualhost example/tip sought

On Thu, Oct 27, 2005 at 08:26:09PM +0200, Siegfried Puchbauer wrote:
> Your vhost config could look something like this:
> 
> NameVirtualHost *:80
> >
> > <VirtualHost *:80>
> > ServerName www.company.de <http://www.company.de>
> > DocumentRoot e:/Tomcat/tomcat4.1.24/webapps/opencms/
> >
> > ProxyPass /resources/ ! # Served by apache
> > ProxyPass /export/ ! # Served by apache
> >
> > ProxyPass /opencms/ http://localhost:8080/opencms/ #Your Tomcat Server
> > ProxyPassReverse /opencms/ http://localhost:8080/opencms/
> >
> > RedirectPermanent / http://www.company.de/opencms/opencms/de/
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This line doesn't seem to work in the way that an existing
http://www.company.de/opencms/opencms/de/index.htm

is being opened. I'm getting HTTP Status 404 from Tomcat instead.

It works, when I replace it by

RedirectPermanent / http://www.company.de/opencms/opencms/de/index.htm

but this gets me into other trouble, I'm afraid, when I will apply rewrite
rules (to get rid of the opencms/opencms) stuff.

In the end I will get rid of /opencms/opencms on that OCMS 5.0/Tomcat 4
site before doing the big step to 6.0.



> >
> > </VirtualHost>

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


_______________________________________________
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




More information about the opencms-dev mailing list