httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefaan Claes <>
Subject [users@httpd] URL Redirection: what's wrong with this?
Date Thu, 14 Nov 2002 16:42:02 GMT


I read an article which describes stealth redirection and why it's bad.
( cf <>)

I agree that this form of stealth redirection is NOT a good idea.
But what about the following form of redirection (what I would
call a *real* stealth redirection).

I will try to explain with an example:

 - someone surfs to
 - the web server knows there is a redirection  >>
 - the web server replaces '' with ''
   and tries to fetch the webpage at
 - if this webpage exists, then this page is fetched by the server
   (else the server gives an error: 404 Not Found)
 - the server forwards this fetched webpage
 - the person who asked for this webpage doesn't know about the
   redirection (he doesn't have to). His webbrowser dispays the webpage
   as if it came from

 - the domain is registered with registrar X
 - the domain is registered with registrar Y
   and the site is hosted hosted by Y
(i.e. web server of X and Y are not the same server)

ICBW but I think it should be possible to configure the web server to do this
sort of redirection. I have read that URL-URL rewriting is not allowed, but
I still don't know why.

My hosting provider uses another form of redirection: cloaked redirection.
This form of redirection requires the web server (apache) to keep a list
of URLs in the configfile. If the URL (
in the above example) is not in the configfile, then apache will give
an error (404 Not Found) even if the webpage exists (apache doesn't
try to fetch the webpage at

I have already asked my hosting provider why apache has to keep a configfile
of all the URLs, but either he doesn't know or he doesn't want to answer.

I don't know much about (apache) web servers, but I wonder why this form of
redirecion (see above) isn't done.




Stefaan Claes, Hove, Antwerpen, Belgium, Europe, <>

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message