RE: Virtual hosting with IIS

2001-07-03 Thread Everitt, Andrew

To get the mapping to happen you need to configure your
uriworkermap.properties file (in the tomcat 'conf' directory) to pickup xml
files:
#
# Simple worker configuration file
#

# Catch all XML files and pass to Tomcat
*.xml=ajp12

As I understand it this should cause all .xml files requested to IIS to have
the request passed to tomcat. You then need tomcat to pickup the xml files
and pass them thro' your servlet, you achieve this in web.xml using a
mapping.

Andi.

> -Original Message-
> From: Markus Strickler [mailto:[EMAIL PROTECTED]]
> Sent: 03 July 2001 12:31
> To: [EMAIL PROTECTED]
> Subject: Re: Virtual hosting with IIS
> 
> 
> Andi-
> 
> actually which parameters to set, is the problem.
> For example I have two server instances with their doc roots at
> C:\server1 and c:\server2
> 
> a) If I access a file from server1 like this:
> http://server:9000/index.xml
> I need the Cocoon servlet being invoked and the path 
> C:\server1\index.xml
> passed to it.
> b) If I access a file from server2 like this:
> http://server:9001/index.xml
> I need the servlet being invoked and the path 
> C:\server2\index.xml passed to
> it.
> 
> The best solution would be if in case a) and b) different 
> servlet contexts
> could be invoked.
> 
> Any idea how to accomplish this?
> 
> Note that I have several dozens of web servers, so using a 
> separate JVM for
> each is ruled out.
> 
> Thanks for any help
> 
>  -markus
> - Original Message -----
> From: "Everitt, Andrew" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 03, 2001 12:44 PM
> Subject: RE: Virtual hosting with IIS
> 
> 
> > Markus,
> >
> > Go in to IIS admin console and right click the computer icon, select
> > properties. In 'Master Properties' select 'WWW Service' and 
> click the
> 'Edit
> > ...' button this will bring up the default properties page 
> for all virtual
> > server's on the computer - set the things you want set 
> globally and you're
> > done.
> >
> > Cheers,
> > Andi.
> >
> > > -Original Message-
> > > From: Markus Strickler [mailto:[EMAIL PROTECTED]]
> > > Sent: 03 July 2001 10:53
> > > To: [EMAIL PROTECTED]
> > > Subject: Virtual hosting with IIS
> > >
> > >
> > > Hi!
> > > I have several IIS webserver instances running on different
> > > ports on the
> > > same IP.
> > > Now I need to map the *.xml extension to Cocoon for all instances.
> > > Anybody an idea how to set this up?
> > >
> > > I'm using IIS5, Tomcat-3.2.2, JDK1.3
> > >
> > > Any help would be appreciated,
> > >
> > > -markus
> > >
> >
> >
> 



Re: Virtual hosting with IIS

2001-07-03 Thread Markus Strickler

Andi-

actually which parameters to set, is the problem.
For example I have two server instances with their doc roots at
C:\server1 and c:\server2

a) If I access a file from server1 like this:
http://server:9000/index.xml
I need the Cocoon servlet being invoked and the path C:\server1\index.xml
passed to it.
b) If I access a file from server2 like this:
http://server:9001/index.xml
I need the servlet being invoked and the path C:\server2\index.xml passed to
it.

The best solution would be if in case a) and b) different servlet contexts
could be invoked.

Any idea how to accomplish this?

Note that I have several dozens of web servers, so using a separate JVM for
each is ruled out.

Thanks for any help

 -markus
- Original Message -
From: "Everitt, Andrew" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 12:44 PM
Subject: RE: Virtual hosting with IIS


> Markus,
>
> Go in to IIS admin console and right click the computer icon, select
> properties. In 'Master Properties' select 'WWW Service' and click the
'Edit
> ...' button this will bring up the default properties page for all virtual
> server's on the computer - set the things you want set globally and you're
> done.
>
> Cheers,
> Andi.
>
> > -Original Message-
> > From: Markus Strickler [mailto:[EMAIL PROTECTED]]
> > Sent: 03 July 2001 10:53
> > To: [EMAIL PROTECTED]
> > Subject: Virtual hosting with IIS
> >
> >
> > Hi!
> > I have several IIS webserver instances running on different
> > ports on the
> > same IP.
> > Now I need to map the *.xml extension to Cocoon for all instances.
> > Anybody an idea how to set this up?
> >
> > I'm using IIS5, Tomcat-3.2.2, JDK1.3
> >
> > Any help would be appreciated,
> >
> > -markus
> >
>
>




RE: Virtual hosting with IIS

2001-07-03 Thread Everitt, Andrew

Markus,

Go in to IIS admin console and right click the computer icon, select
properties. In 'Master Properties' select 'WWW Service' and click the 'Edit
...' button this will bring up the default properties page for all virtual
server's on the computer - set the things you want set globally and you're
done.

Cheers,
Andi.

> -Original Message-
> From: Markus Strickler [mailto:[EMAIL PROTECTED]]
> Sent: 03 July 2001 10:53
> To: [EMAIL PROTECTED]
> Subject: Virtual hosting with IIS
> 
> 
> Hi!
> I have several IIS webserver instances running on different 
> ports on the
> same IP.
> Now I need to map the *.xml extension to Cocoon for all instances.
> Anybody an idea how to set this up?
> 
> I'm using IIS5, Tomcat-3.2.2, JDK1.3
> 
> Any help would be appreciated,
> 
> -markus
>