Yeti wrote:

> RewriteRule ^blog[/]{0,}([^/]{0,})[/]{0,}([^/]{0,})[/]{0,}.*$
> blog.php?getparam1=$1&getparam2=$2  [NC,QSA,L]

What's the point of using '{0,}' instead '*' ?

I think I would have written something like this:

# http://www.domain.com/blog/1/2/
RewriteRule ^blog/([^/]+)/([^/]+)/ blog.php?getparam1=$1&getparam2=$2 
[NC,QSA,L]


/Per Jessen, Zürich


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to