im having multiple rules fo a part of my site wich works well untill im adding additionl query string
RewriteRule ^/blogs/(^/.?+)/?$ /blogs/blog.asp?id=$1
the above rule just for main page fo each users Blog ie.. /blogs/mumu
this rule ads the page moving in the blog i.e. /blogs/mumu/3 (page 3)
this rule is made for viewing sordet by month i.e. /blogs/mumu/2006/12 (december 2006)
and this last one is for adding paging to the month view i.e. /blogs/mumu/2006/12/3 (december 2006 page 3)
in the last rule ive tried to add handaling for search parameters for example:
i have a form with 3 fields in the blod "q" is the search for string stat is the status and cat is the category and i use get so a url will look lik this when searching
should be rewrited to
one problrm i found is that it gets rwrited few times and messes all up
am i missing something ?
i even tied to ad a Cond that ensures not rewriting a string containing ".asp"
May 11, 2007 at 8:42 PM
try negative lookaheads in the regex The syntax is
This matches any string which does not have "blog.asp" at the current point. See the tests directory and the readme file for more info.