Tunneling Question

2001-10-18 Thread Sarathy Mattaparti

Hi,
Is it possible to do tunneling in application leveal ?. cause i'm having 
3 domain names but wanna do tunneling for one domain only.

i went through docs but its for global.



  servlet
   servlet-nametunnel/servlet-name
   servlet-classcom.evermind.server.http.TunnelServlet/servlet-class
   init-param
param-nametargetRoot/param-name
param-valuehttp://localhost:8080//param-value
   /init-param
  /servlet

(This is assuming that Orion is running on port 80 and Apache on 8080.)

Then you would add the mappings for the content you want the other web 
server to handle:

  servlet-mapping
   servlet-nametunnel/servlet-name
   url-pattern/*.html/url-pattern
  /servlet-mapping

  servlet-mapping
   servlet-nametunnel/servlet-name
   url-pattern/*.gif/url-pattern
  /servlet-mapping


Thanks for your help,
Sarathy



_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp





RE: Tunneling Question

2001-10-18 Thread The elephantwalker

I believe anything that can be done in the global, can be done in an app.
The format is the same. So if you want an app to use tunneling, put the same
tag in your orion-web.xml file (this is located in the WEB-INF directory of
your war file:

  servlet
   servlet-nametunnel/servlet-name
   servlet-classcom.evermind.server.http.TunnelServlet/servlet-class
   init-param
param-nametargetRoot/param-name
param-valuehttp://localhost:8080//param-value
   /init-param
  /servlet

also add the appropriate mapping.

You can copy the one orion already uses for your app...look in your
application directory for your orion-web.xml file.

regards,

the elephantwalker
www.elephantwalker.com


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Sarathy
Mattaparti
Sent: Thursday, October 18, 2001 9:45 AM
To: Orion-Interest
Subject: Tunneling Question


Hi,
Is it possible to do tunneling in application leveal ?. cause i'm having
3 domain names but wanna do tunneling for one domain only.

i went through docs but its for global.



  servlet
   servlet-nametunnel/servlet-name
   servlet-classcom.evermind.server.http.TunnelServlet/servlet-class
   init-param
param-nametargetRoot/param-name
param-valuehttp://localhost:8080//param-value
   /init-param
  /servlet

(This is assuming that Orion is running on port 80 and Apache on 8080.)

Then you would add the mappings for the content you want the other web
server to handle:

  servlet-mapping
   servlet-nametunnel/servlet-name
   url-pattern/*.html/url-pattern
  /servlet-mapping

  servlet-mapping
   servlet-nametunnel/servlet-name
   url-pattern/*.gif/url-pattern
  /servlet-mapping


Thanks for your help,
Sarathy



_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp