Re: [xwiki-users] How to redirect to the wiki

2007-10-05 Thread Bill Anderson
> Try to put this JSP page in the ROOT context:
> <%
> String redirectURL = "/xwiki/bin/view/Main/WebHome";
> response.sendRedirect(redirectURL);
> %>
> 
> 
> Guido

Thanks Guido and Marc,

I could never find the real "root" directory with Jetty, so I scrapped that, 
installed Tomcat, put the index.jsp in the Tomcat root (Tomcat 
6.0/webapps/ROOT) and it worked perfectly. As an added benefit, it seems Tomcat 
is a lot faster than Jetty.

I appreciate it,

--Bill___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to redirect to the wiki

2007-10-04 Thread G.Schoepp
Bill Anderson schrieb:
> I'm using Jetty and trying to figgure out how to redirect someone who 
> goes to http://foo.com to http://foo.com/xwiki/bin/view/Main/WebHome, 
> just like the xwiki.org web site does.

Try to put this JSP page in the ROOT context:
<%
String redirectURL = "/xwiki/bin/view/Main/WebHome";
response.sendRedirect(redirectURL);
%>


Guido
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to redirect to the wiki

2007-10-04 Thread Lijour, Marc (EDU)
There is an index.html file somewhere in the package (war). It should be
just under xwiki.war .



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Bill Anderson
Sent: October 4, 2007 7:17 PM
To: XWiki Users
Subject: Re: [xwiki-users] How to redirect to the wiki


Thanks Marc,
 
Mind if I ask where you placed the index.html file? I can't seem to find
the root. 
 
--Bill


- Original Message 
From: "Lijour, Marc (EDU)" <[EMAIL PROTECTED]>
To: XWiki Users 
Sent: Thursday, October 4, 2007 3:51:43 PM
Subject: Re: [xwiki-users] How to redirect to the wiki


Hi Bill
 
I use a html redirect tag in index.html. The best way is to tweak the
web server config file but I don't know if it is possible with Jetty.



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Bill Anderson
Sent: October 4, 2007 6:42 PM
To: users@xwiki.org
Subject: [xwiki-users] How to redirect to the wiki


Hi,
 
I'm using Jetty and trying to figgure out how to redirect someone who
goes to http://foo.com <http://foo.com/>  to
http://foo.com/xwiki/bin/view/Main/WebHome, just like the xwiki.org web
site does. I've checked through the spotty Jetty documentation and
haven't found anything. Has anyone here done this? Thanks!
 
--Bill

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to redirect to the wiki

2007-10-04 Thread Bill Anderson
Thanks Marc,

Mind if I ask where you placed the index.html file? I can't seem to find the 
root. 

--Bill


- Original Message 
From: "Lijour, Marc (EDU)" <[EMAIL PROTECTED]>
To: XWiki Users 
Sent: Thursday, October 4, 2007 3:51:43 PM
Subject: Re: [xwiki-users] How to redirect to the wiki


Hi Bill
 
I use a html redirect tag in index.html. The best way is to tweak the web 
server config file but I don't know if it is possible with Jetty.




From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Anderson
Sent: October 4, 2007 6:42 PM
To: users@xwiki.org
Subject: [xwiki-users] How to redirect to the wiki


Hi,
 
I'm using Jetty and trying to figgure out how to redirect someone who goes to 
http://foo.com to http://foo.com/xwiki/bin/view/Main/WebHome, just like the 
xwiki.org web site does. I've checked through the spotty Jetty documentation 
and haven't found anything. Has anyone here done this? Thanks!
 
--Bill___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to redirect to the wiki

2007-10-04 Thread Lijour, Marc (EDU)
Hi Bill
 
I use a html redirect tag in index.html. The best way is to tweak the
web server config file but I don't know if it is possible with Jetty.



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Bill Anderson
Sent: October 4, 2007 6:42 PM
To: users@xwiki.org
Subject: [xwiki-users] How to redirect to the wiki


Hi,
 
I'm using Jetty and trying to figgure out how to redirect someone who
goes to http://foo.com to http://foo.com/xwiki/bin/view/Main/WebHome,
just like the xwiki.org web site does. I've checked through the spotty
Jetty documentation and haven't found anything. Has anyone here done
this? Thanks!
 
--Bill
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users