trouble with a rule

Topics: Developer Forum, User Forum
Feb 18, 2009 at 5:05 PM
I am having trouble with a rule not behaving how I think it should behave.  :D

I have a URL with a page that I am asking to redirect to a rewritten page.

RedirectRule ^/directory/file_name.asp((\?.+)|())$ /seo-friendly-page-name.html [I, R=301]

earlier in the file there is this

RewriteRule ^/seo-friendly-page-name.html((\?.+)|())$ /file_name.aspx?someid=12345 [I]

when I do a redirect I get a 404 error if I type in the seo-friendly-page-name.html I get the page.  If I change the redirect to a Rewrite the pathes are all messed up, but I get the correct page.  Any thoughts on what I am doing wrong?
Feb 18, 2009 at 6:33 PM
Seems to have been a version issue -- I updated to the one that I have installed on my test machine and it works fine.