my url keys are coming from database , say if my url is abc.com ,i have used a rewrite rule
RewriteRule (.)/(.)/mcqs/(.)/(.)/(.*).html mcq.php?mcq_id=$4&page=$5
in this rewrite rule , first four (.) are coming as url keys from db, but problem is that in address bar am able to add any random text and still page is generated, and some of the keys are mixed, like say for first (.) i have given key a1 which is to be used in combination with a2,a3 and a4 (url keys of second,third and fourth(.*)) , but now a1 is used in combination with other url keys say b2 and c3 also