----------------------------------------------------------------
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!!!
----------------------------------------------------------------
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Mathew
> > Byrne
> > Sent: Wednesday, October 27, 1999 5:02 PM
> > To: Java Apache Users
> > Subject: Apache configuration
> >
> >
> > ----------------------------------------------------------------
> > 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!!!
> > ----------------------------------------------------------------
> >
> >
> > I am desperate for help on this one.
> >
> > I read docos and found that you could use mod_rewrite to
> > rewrite urls so
> > that they can be changed to refer to anything, but my problem
> > is that I
> > want to redirect all traffic through a particular servlet, without the
> > user seeing a changed URL. I know I already posted this
> > question, but I
> > am desperate for help, and can't seem to find the answer anywhere.
> >
> > Any tips? pointers to info on this?
> >
> >
> > I am running Apache-Jserv-1.0b3, with Apache_1.3.6 on a Solaris
> > machine.
> >
> >
> > Thanks,
> >
> > --
> > Matt
> >
>
> add an action in your mod_jserv.conf
>
> ApJServAction .html /servlets/com.mydomain.mywebstuff.UniversalPageHandler
>
> of course then you'll have to handle everything for html pages that apache would
>normally handle for you.
>
> ***********************************************************
> Brett Knights 626-432-5767 work
> [EMAIL PROTECTED] 626-355-1017 home
> ***********************************************************
I tried adding an action in httpd.conf, like the one above ... is that
the same as adding it to mod_jserv.conf? I could not find a
mod_jserv.conf. Anway, when I added this line to httpd.conf it did not
work when a directory was specified in the URL, such as ..
www.url.com/directory/index.html ......... as the server would not map
any URL including a directory in it.
ie: www.url.com/index.html would be redirected thru a servlet, but the
above url would not.
Do you know how I can get everything to go thru a servlet, so that
anything after the server in the url is added as extra path info for the
servlet?
Thanks for your response,
-----
Matt
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]