OT, please help with apache2 RewriteRule
northstar1950 at att.net
northstar1950 at att.net
Mon Feb 2 20:20:38 EST 2009
try this line in the head section of your html file:
<meta http-equiv="refresh" content="10; url=replace.this.with.your.url">
Legend has it that on Monday 2/2/2009 02:39 PM, Gregory Nowak said:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Hi all.
>
>Please excuse the off topic post, but there are lots of people on here
>smarter than myself, and I figured it wouldn't hurt to ask.
>
>I've been trying to use RewriteRule in apache2 for a couple of hours
>now to do url redirection, and can't get it to work. Here's the
>situation, I'm running apache2, and have the following in my
>virtualhost container:
>
>"RewriteEngine on
>RewriteRule ^/cgi-bin/\?list=(.*)$ /cgi-bin/ezmlm-browse\?list=$1"
>
>Here's what I want to do. If someone goes to
>http://www.example.com/cgi-bin/?list=... I want them to be
>redirected to http://www.example.com/cgi-bin/ezmlm-browse?list=... The
>"..." here represents anything that comes after the "?list=" part.
>
>I'll admit that I haven't used regular expressions much, and that
>they're definitely not one of my strong points. BTW, the rewrite
>module itself is setup properly, I have another RewriteRule in that
>same virtualhost container working just fine already. The problem is
>getting the regexp right. If someone could please tell me where I'm
>going wrong here, I would be grateful. Thanks in advance for any
>help, which would
>be much appreciated.
>
>Greg
>
>
>- --
>web site: http://www.romuald.net.eu.org
>gpg public key: http://www.romuald.net.eu.org/pubkey.asc
>skype: gregn1
>(authorization required, add me to your contacts list first)
>
>- --
>Free domains: http://www.eu.org/ or mail dns-manager at EU.org
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.9 (GNU/Linux)
>
>iEYEARECAAYFAkmHWhcACgkQ7s9z/XlyUyA2DgCgvP/u/YcwsdZijj9GCl1Yws+d
>wWoAn3s5vMCJgVy0xitN2YK+ijACOTn8
>=OTzH
>-----END PGP SIGNATURE-----
>_______________________________________________
>Speakup mailing list
>Speakup at braille.uwo.ca
>http://speech.braille.uwo.ca/mailman/listinfo/speakup
More information about the Speakup
mailing list