[ale] Apache2 RewriteRule?

Robert L. Harris robert.l.harris at gmail.com
Sat Nov 13 16:34:35 EST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


I need a rewrite rule that will rewrite any and all traffic to /index.html

The main site is http://www.site.com/app  but we do have some people
who book mark /app/index and other variations but for a 'maintenance'
page I need to be able to send it all to /index.html.  I'm obviously
doing something wrong when firefox complains about an infinite loop
I'm doing something stupid...

RewriteRule   ^/.*$   /index.html   [L,R]


(I tried with and without the [L,R] and other combinations but I've
never done this before)

Any help?
  Robert

- -- 

:wq!
====================================================================
Robert L. Harris                     | GPG Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu
DISCLAIMER:
      These are MY OPINIONS             With Dreams To Be A King,
       ALONE.  I speak for              First One Should Be A Man
       no-one else.                       - Manowar

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)

iD8DBQFM3wRr8+1vMONE2jsRAhsOAKCU/bAEB/gXk2UmBYe6VxfycGXqZACfWrr1
+Kr++im0jax7cd234cjgKQg=
=/E2b
-----END PGP SIGNATURE-----



More information about the Ale mailing list