My site works perfectly on my own server using the following simple .htaccess file.
Code:
RewriteEngine On
RewriteBase /
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php
I have a Linux hosting account with godaddy. I uploaded the framework and all of my code exactly as it is on my server. The home page works, so it finds index.php and the correct controller and view. But any other URL sends me to a stock 404 page. I called them and they said they can not troubleshoot my code (which is understandable) and they sent me a document about how to use .htaccess and mod_rewrite. Their example .htaccess file is this.
Code:
RewriteEngine on
rewritecond %{http_host} ^coolexample.com [nc]
rewriterule ^(.*)$ http://www.coolexample.com/$1 [r=301,nc]
I tried it and many different variations of it and I only get the 404 page or a server error when trying to access anything but the home page. Has anyone successfully used Zend with godaddy, or know of an inexpensive php Linux hosting company that my .htaccess file will definitely work with?