Re: [EMAIL PROTECTED] Redirect URLs using mod_rewrite

2006-12-30 Thread Eric Covener
On 12/28/06, Stefan Antonelli <[EMAIL PROTECTED]> wrote: I've tried out this and a lot of variants but none of them worked for me: RewriteRule ^/subdir/foo.php\?id=(.*) /subdir/bar.php?newid=$1#sameid$1 [R] You can't match the query string in RewriteRule. Add a RewriteCond that looks at %{QU

Re: [EMAIL PROTECTED] Redirect URLs using mod_rewrite

2006-12-28 Thread David Blanco
Hi! Stefan Antonelli escribió: > i would like to use apaches mod_rewrite to redirect some URLs to its new > Location. I have to change this: > > http://www.doamin.de/subdir/foo.php?id=1234 > > into this: > > http://www.domain.de/subdir/bar.php?newid=1234#sameid1234 > > I've tried out this and

[EMAIL PROTECTED] Redirect URLs using mod_rewrite

2006-12-28 Thread Stefan Antonelli
Hi there, i would like to use apaches mod_rewrite to redirect some URLs to its new Location. I have to change this: http://www.doamin.de/subdir/foo.php?id=1234 into this: http://www.domain.de/subdir/bar.php?newid=1234#sameid1234 I've tried out this and a lot of variants but none of them worked