I just added a mod rewrite to eliminate the index.php from my URL. After doing so, my page loads except for the CSS. I can't even directly access the CSS directory (http://mysite.com/css/style.css). Without the rules in .htaccess if I went to that link I would see the plain text of my CSS file in the browser. With the rules I have listed below in .htaccess I can't access the css file (get a 404 error).

I have read all kinds of solutions saying to use absolute paths, but that won't work (as far as I can tell ) in my instance as the directory returns a 404, it is not an issue of not directing to the proper directory.

Here are the contents of my .htaccess:

RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

This is my first mod rewrite and I am still getting my head around what all this means. Hopefully someone has a solution as I would prefer to NOT advertise that I am using php to minimize hack attempts (how ever minutely it will minimize it is still something).