Posts: 32
Name: Mahmoud M. Abdel-Fattah
Location: Alexandria, Egypt.
|
Hello,
I'm totally newbie with ReWriteRules, so I just made a simple one , which is :
RewriteRule ^(.*)/(.*) $1.php?$2
it works fine, so it's rename the 1st match 2 file name, then 2nd match to query string, so as I can get all variables in this file name.
But I've the problem, that now I can't load images, css, js, etc. cause it's looking for images.php istead of /images/
so, how can I exclude, images, style, js folders ?
|