[opencms-dev] Problem to remove opencms/opencms from url

Chema F chemaff at hotmail.com
Fri Aug 1 09:56:32 CEST 2008


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/


More information about the opencms-dev mailing list