Forum Moderators: phranque

Message Too Old, No Replies

mod rewrite assistance

         

ls21gce

4:01 pm on Aug 9, 2006 (gmt 0)

10+ Year Member



Hi,

I am running Apache 2.2.0

I have access to the server to use "RedirectMatch permanent"

I want to be able to redirect the following so that whatever the firstRow value is, it should be a directory level e.g.

from URL: /do/category/CD_Soul?&firstRow=n
to URL: http://www.example.co.uk/do/category/CD_Soul/n

--------------------------------------------------------------

I have currently this redirect:-

RedirectMatch permanent do/product/All_Music/(.*) http://www.example.co.uk/do/category/All_Music

..this converts as follows:-
/do/category/All_Music?&firstRow=n -> http://www.example.co.uk/do/category/All_Music?&firstRow=n

...but here I also need http://www.example.co.uk/do/category/All_Music/n

[edited by: jdMorgan at 5:26 pm (utc) on Aug. 9, 2006]
[edit reason]
[1][edit reason] example.co [/edit]
[/edit][/1]