I am while using Zend Framework, so I am bootstrapping right into a file known as index.php. Naturally, I'm not going images to become bootstrapped, so I have added b .htaccess file. This is what it appears like

/public (this is the root of the site)

This really is what's designed in my .htaccess:

RewriteEngine on
RewriteRule !\.(js|ico|gif|jpg|png|mp3|mov|css)$ index.php

This really is essentially saying whether it does not finish insjs / .ico / etc, then send the request to index.phpAnd works all right on my small localhost, however when I recieve as much as really putting it on the internet, it does not. It simply routes everything to index.php, no matter the ending from the request. When mywebsite.com/images/wizard.presen must show the image, it attempts to load the pictures controller, which isn't things i would like it to do.

What is failing? I understand it's reading through the .htaccess. Could it be reading through my regex wrong? Why would one apache server see clearly wrong, while another reads it properly? Any help could be great.

Here's my .htaccess if you'd like to try it out:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ /index.php [NC,L]

Essentially it inspections to make certain the request isn't a directory, symlink or perhaps a real file, after which transmits it to index.php. Otherwise it'll provide direct accessibility file/directory