You can override the 404 html error, sending that to a servlet or JSP.  Once
there, you can detect what 'name' is and use some logic (possibly backed by
a Database or XML) to decide where to redirect to.

Just off the top of my head...

I am assuming that myserver/name doesn't actually exist as a page,
otherwise, you can just do the redirection there.
Tony

                -----Original Message-----
                From:   Huibert Aalbers [mailto:[EMAIL PROTECTED]]
                Sent:   Thursday, January 04, 2001 9:08 AM
                To:     Orion-Interest
                Subject:        Redirection

                Hi everyone,

                Since it seems that the list is alive and well, although
with very
                little traffic, I would like to ask a question which has
been bothering
                me for a while.

                I am trying to do what I would define as dynamic
redirection. What that
                means is that if someone writes an URL like
http://myserver/name, I
                would like to look for "name" in a database and redirect the
user to
                some other URL. This would allow me to avoid modifying
manually the
                configuration file every time a mapping is added,removed or
modified.

                Is this possible? Any suggestions?

                Thanks in advance and Happy New Year!

                Huibert Aalbers
                

Reply via email to