mod_rewrite not working?

Posted by Sean Kimball on Server Fault See other posts from Server Fault or by Sean Kimball
Published on 2011-11-10T17:00:53Z Indexed on 2011/11/11 17:58 UTC
Read the original article Hit count: 430

Filed under:
|
|

I have a bunch of non-existent urls that need to be redirected to new ones, though they are not working... mod_rewrite does work and is enabled, I'm wondering if the redirect URL has to actually exist in order for a redirect ot work.

Here is what I have:

Redirect 301 /cgi-bin/commerce.cgi?display=action&emptyoverride=yes&template=Assets/XHTML/Advantage.html http://domain.com/the-bag-to-nature-advantage.html

UPDATE this is the request that comes in [indexed in google!] http://domain.com//cgi-bin/commerce.cgi?display=action&emptyoverride=yes&template=Assets/XHTML/Advantage.html

this is where it needs to go: http://domain.com/the-bag-to-nature-advantage.html

© Server Fault or respective owner

Related posts about apache2

Related posts about mod-rewrite