----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

You can have JServ look for servlets anywhere you like, but it seems you want to
eliminate the zone mount point from the URL.  The mount point essentially tells
Apache that this URL belongs to JServ.  So if you want JServ to service a
request, but you don't want to specify the mount point, then you need to use
mod_rewrite.

If you don't mind leaving the mount point in the URL, then you can use servlet
aliases in your zone.properties file to define mneumonics for all your servlets.

-- Travis Low  
   <mailto:[EMAIL PROTECTED]>
   <http://dawnstar.org/travis>

Bill Volk wrote:
> 
> This looks like it might work.... but it seems like overkill...
> 
> But can't we just tell Jserve/Apache to look for Servlets in the html
> directory?
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Travis Low
> > Sent: Thursday, October 26, 2000 9:26 PM
> > To: Java Apache Users
> > Subject: Re: Alias Servlet URL's?
> >
> >
> > ----------------------------------------------------------------
> > BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> > WHEN YOU POST, include all relevant version numbers, log files,
> > and configuration files.  Don't make us guess your problem!!!
> > ----------------------------------------------------------------
> >
> > mod_rewrite
> >
> > http://www.apache.org/docs-1.2/mod/mod_rewrite.html
> >
> > (if you're using apache, that is)
> >
> > -- Travis Low
> >    <mailto:[EMAIL PROTECTED]>
> >    <http://dawnstar.org/travis>
> >
> > Bill Volk wrote:
> > >
> > > I'd like to find a way to alias the Servlet URL so that, instead
> > > of using: (for example)
> > >
> > >     http://myserver.com/servlets/PhotoList
> > >
> > > the server would interpret this as equivalent:
> > >
> > >     http://myserver.com/PhotoList
> > >
> > > What's the best way to do that?
> > >
> > > Thanks,
> > >
> > > Bill Volk


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to