Please take off your email list.
Technologent
- Original Message -
From: "Jeff Schnitzer" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, January 31, 2002 8:01 AM
Subject: RE: automatic invocation of servlet as the root-servi
> How to setup virtual hosting with Orion:
>
> http://kb.atlassian.com/content/orionsupport/articles/vhosts.html
Thanks Scott, great tutorial on virtual hosting with orion!
Ya gotta love Orion, the orion developers, all the folks from Atlassian,
Elephantwalker and mail list contributors!!
Curt,
A quick search for "virtual hosts" on the knowledge base:
http://kb.atlassian.com/search.jsp?query=virtual+hosts
return this page:
http://kb.atlassian.com/content/orionsupport/articles/vhosts.html
which (on the right-hand side) is related to this:
http://kb.atlassian.com/content/orion/
>
>
>
>
>The drawback of this method is, that now _only_ the servlet can be
>invoked within this instance of orion - nothing else! But for our
>purposes this is just fine.
>
It would be great if the J2EE /web.xml specs supported virtual hosting.
I.E. URL based
routing at the web container level
If Your server allows FollowSymLinks
just set a symbolic link
/usr/httpd/htdocs/index.html ->
/usr/orion//WEB-INF/classes/indexservlet
Or use the HTML-way:
meta http-equiv="refresh" value="0,
url:http://www.maycompany.com/servlets/indexservlet";
Please look the docs for correct syntax
Max
Sounds like you should use a filter!
Check out the filter tutorials at orionserver.com.
/Jason
-Original Message-
From: Robert Virkus [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 9:27 PM
To: Orion-Interest
Cc: Orion-Interest
Subject: Re: automatic invocation of servlet
t; Cc: Orion-Interest
> Subject: Re: automatic invocation of servlet as the root-service
>
> Hello Igor & everyone out there,
>
> thanks for your help,
> I set the servlet-webdir to "" in the orion-web.xml and set the
> welcome file in the WEB-INF/web.xml to
>
Becarefull with your servlet mapping, so you dont get stuck in a loop
-Original Message-
From: Robert Virkus [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 31, 2002 1:27 PM
To: Orion-Interest
Cc: Orion-Interest
Subject: Re: automatic invocation of servlet as the root-service
Hello I
Hello Igor & everyone out there,
thanks for your help,
I set the servlet-webdir to "" in the orion-web.xml and set the
welcome file in the WEB-INF/web.xml to my desired servlet
(
com.scaraboo.servlet.Loadbalancer
)
but if I surf to the root (eg. http://127.0.0.1), I just get a "403 Forbidd