[opencms-dev] Alias for web url

Andras Balogh andras at reea.net
Fri Jul 2 15:51:01 CEST 2004


Hello,

    If you don't mind having a redirect you can create an index.html or 
index.jsp that redirects to the
www.mydomain.com/opencms/opencms/mysite/mypage.html 
<http://www.mydomain.com/opencms/opencms/mysite/mypage.html>
You can redirect with meta-refresh, with a javascript or from jsp code 
with response.sendRedirect();

Best wishes,
Andras.

Federico Grilli wrote:

> 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 <http://www.mydomain.com> so that it redirects 
> to www.mydomain.com/opencms/opencms/mysite/mypage.html 
> <http://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