httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Rossignoli" <softw...@polin.it>
Subject [users@httpd] Redirection
Date Sun, 26 Jan 2003 14:30:22 GMT
Hi,
the manual gives this example:

http://httpd.apache.org/docs/urlmapping.html#redirect

----
Alternatively, to temporarily redirect all pages on a site to one particular
page, use the following:

RedirectMatch temp .* http://www.example.com/startpage.html
----

If example.com is the same server where that directive is put then it will
create an infinite request loop.
I tried it on my windows pc and I put that directive inside an .htaccess,
the result is an infinite request loop.

In fact when the browser will ask for /startpage.html (because it was
redirected to) the rule .* matches it again.

I'm sure I was wrong,
so please help me to understand.


Thanks,
Andrea, Italy


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message