View Single Post
  #1 (permalink)  
Old 03-19-2008, 12:38 AM
sawatdee sawatdee is offline
Junior Member
 
Join Date: Mar 2008
Posts: 12
Default Using Zend with a hosting company

Does anyone use Zend with a hosting company? I have tried 3 hosting companies in 3 days. Sometimes the home page works because it finds the front controller directly. But when I try any other URL, I always get 500 server error. I don't think any of them support mod_rewrite. I even tried HawkHost which claims to have Zend installed on every server, but I had no luck. I am using a very simple .htaccess file that I got from the Zend documentation. It works perfectly on my server at home, so my files have to be correct. Here is the file.
Code:
RewriteEngine On
RewriteBase /
RewriteRule !\.(js|ico|gif|jpg|png|css)$ index.php
php_value session.auto_start 0
I'm desperate. Somebody else must be using a hosting company with Zend Framework.

Last edited by sawatdee : 03-19-2008 at 12:48 AM. Reason: error in code
Reply With Quote