[ale] Apache2 RewriteRule?
Richard Bronosky
Richard at Bronosky.com
Sat Nov 13 17:59:17 EST 2010
.* matches index.html
On 11/13/10, Robert L. Harris <robert.l.harris at gmail.com> wrote:
>
> -----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-----
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
--
Sent from my mobile device
.!# RichardBronosky #!.
More information about the Ale
mailing list