[opencms-dev] virtualhost example/tip sought
Christoph P. Kukulies
kuku at physik.rwth-aachen.de
Fri Oct 28 14:59:14 CEST 2005
Thank, but I have already the jk_module installed. Doesn't that
conflict with that technique?
And what is ProxyPass? apache2 reports a syntax error on these
lines. Also the
ServerName www.company.de <http://www.company.de>
was flagged as a syntax error (Servername takes one argument).
Looks to me as if you supplied Tomcat syntax here.
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/
> >
> > </VirtualHost>
> > <VirtualHost *:80>
> > ServerName www.company.com <http://www.company.com>
> > 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/en/
> >
> > </VirtualHost>
> >
--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
More information about the opencms-dev
mailing list