httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Knowlton" <>
Subject [users@httpd] Redirect ANY request to one page
Date Sat, 14 Nov 2009 16:34:38 GMT
Hi all.
I am trying to have apache (2.2.14-1 from Debian) redirect any request to
a certain page. In the server root I have the single file "park.html" and
I want that all requests for resources (documents as well as folders) on
that domain be redirected to that particular page.
To be specific:
* Request: "" -> redirect ""
* Request: "" -> ""
* Request: "" -> ""

I currently tried using the following rule: "RedirectMatch permanent
^(.*)$ /park.html" but it doesn't seem to work (results in an infinite
Since I need the redirect badly, I set up 404s to go to "park.html" but I
think that won't go so well with robots.
Any suggestions?


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