Gmane
From: Chema F <chemaff <at> hotmail.com>
Subject: Problem to remove opencms/opencms from url
Newsgroups: gmane.comp.cms.opencms.devel
Date: 2008-08-01 07:56:32 GMT (5 weeks, 1 day, 19 hours and 2 minutes ago)

Hi,
I have followed the steps outlined in: http://www.opencms-forum.de/opencms-forum/viewthread?thread=1990

1. Remove the first "opencms" --> OK

But, I do not understand how to make these changes in my Apache 2.0 :

2. Remove the second "opencms"
Create a proxy, assuming Tomcat is serving at http://localhost:8080
The server now understands the following URLs:
/export/*
/resources/*
/opencms/*

But all pages will have links to 
http://www.myserver.com/* instead of 
http://www.myserver.com/opencms/*

So, create a proxy that will proxy
http://www.myserver.com/export/*
http://www.myserver.com/resources/*
to 
http://localhost:8080/export/*
http://localhost:8080/resources/*

and any other 
http://www.myserver.com/* 
to 
http://localhost:8080/opencms/*

I did it for lighttpd, but it will be similar for Apache. The settings for the Coyote/JK2 AJP 1.3 Connector
will be similar, but I do not use that.

Here is a proxy for lighttpd:
url.rewrite = (
"^/export/(.*)" => "$0",
"^/resources/(.*)" => "$0",
"^/(.*)" => "/opencms/$1" 
)

Someone can give me an example for Apache 2.0 ? I do not have lighttpd.
i have Opencms 6.2.3 & 7.0.3. 

   Thanks

_________________________________________________________________
La Ășltima hora de tu ciudad en MSN Noticias
http://noticias.es.msn.com/

_______________________________________________
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