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


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-18-2008, 01:52 AM
Junior Member
 
Join Date: Mar 2008
Posts: 12
Default mod_rewrite with hosting company

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-30-2008, 01:15 PM
Junior Member
 
Join Date: Jun 2008
Posts: 1
Default Hosting Companies support ZF

I am having the exact same problems trying to use ZF on godaddy. I have not given up yet but the following link apparently lists companies that support it. I say apparently because goddady is on the list.

Zend Framework Web Hosts - Zend Framework Wiki
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 12:09 AM.