Re: [us...@httpd] Redirect ANY request to one page

2009-11-14 Thread Jack Knowlton
On Sat, November 14, 2009 6:01 pm, Philip Wigg wrote: > Hi, > > Try using mod_rewrite. This configuration should work... > > RewriteEngine On > RewriteCond %{REQUEST_URI} !^/park.html$ > RewriteRule (.*) /park.html [L, R] > > This redirects any request except park.html. Note that if park.html > con

Re: [us...@httpd] Redirect ANY request to one page

2009-11-14 Thread Philip Wigg
Hi, Try using mod_rewrite. This configuration should work... RewriteEngine On RewriteCond %{REQUEST_URI} !^/park.html$ RewriteRule (.*) /park.html [L, R] This redirects any request except park.html. Note that if park.html contains an image, css, or whatever, it's important to also have a conditi

Re: [us...@httpd] Redirect ANY request to one page

2009-11-14 Thread Glen Barber
On Sat, Nov 14, 2009 at 11:34 AM, Jack Knowlton wrote: > 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

[us...@httpd] Redirect ANY request to one page

2009-11-14 Thread Jack Knowlton
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: * R