httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Hilton <jeremy-l...@adtcs.com>
Subject Re: [users@httpd] redirect all to index.html
Date Thu, 10 Feb 2005 15:01:54 GMT
On 2/10/05 9:58 AM, "Preston Podaril" <ppod@ispi.net> wrote:

> I want to redirect all requests to a particular domain to index.html
> such as all requests to www.digitalpartners.com to
> www.digitalpartners.com/index.html
> 
> I had setup a rewrite that worked, but broke all images on the page
> because it was rewriting anything that wasn't index.html to that.  Now I
> have a redirect, but I am not sure why it won't work, it seems obvious
> to me, but I guess not.
> 
> Redirect !/index.html http://www.digitalpartners.com/pages/index.html
> 
> ---------------------------------------------------------------------
> 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
> 

This might work.

RedirectMatch /index.html /pages/index.html

Jeremy


---------------------------------------------------------------------
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