Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-19-2008, 12:38 AM
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-19-2008, 01:27 AM
Junior Member
 
Join Date: Mar 2008
Posts: 12
Default

I must acknowledge that HawkHost does support Zend. But php_value must go into a php.ini file, not .htaccess, which is where my server error must have been coming from. After 3 days and very little sleep, I found one that works.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-19-2008, 04:09 PM
Senior Member
 
Join Date: Jan 2008
Location: chicago
Posts: 101
Default

I use a VPS on Rimuhosting, so far it has been great.

I also use MAMP for a local test server on my Mac and it is so simple to use I love it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:18 PM.