Hello!
I'm taking my first stab at creating a mini-MVC to better understand the concepts behind such a design. I'm using:
to rewrite my URLS and it works great except for my css and js files. I thought that the "!-f" line would take care of these, but if I run a script with:Code:RewriteEngine On RewriteCond %[REQUEST_FILENAME] !-d RewriteCond %[REQUEST_FILENAME] !-f RewriteCond %[REQUEST_FILENAME] !-l RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]
then, I think that it's still treating my link as something to be rewritten. Any help with this would be appreciated.HTML Code:<link rel="stylesheet" href="public/css/default.css" />



Reply With Quote



Bookmarks