[opencms-dev] Alias for web url

Andres Garay ag at colombiaemb.org
Fri Jul 2 16:26:02 CEST 2004


I have been playing a little bit with URLRewriteFilter
(http://tuckey.org/urlrewrite/). It's been working fine for me. All
requests to to mydomain.com get redirected to the proper opencms
directory, and the delay is almost none.
 
I think it's better than a redirect page, since you can configure it so
that a request for www.mydomain.com/page.html goes to
www.mydomain.com/opencms/opencms/mysite/page.html automatically.

Still, in the browser url bar you will see the /opencms/opencms/
 
Andres Garay

________________________________

From: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org] On Behalf Of Federico Grilli
Sent: Friday, July 02, 2004 9:39 AM
To: opencms-dev at opencms.org
Subject: [opencms-dev] Alias for web url


Hello everybody,
 
sorry if my question could sound trivial to some of you but I would like
to know how one creates an alias in Tomcat for e.g. www.mydomain.com so
that it redirects to
www.mydomain.com/opencms/opencms/mysite/mypage.html. I tried to change
the <welcome-file> in the web.xml for the context but it did not work.
 
Thanks in advance,
 
Federico Grilli
 




More information about the opencms-dev mailing list