Mod Rewrite on Godaddy Shared Hosting


This fix is for those having trouble getting our script to work on Godaddy.

To get cake to work on a Godaddy shared linux hosting account.

  1. Upload all the script's files to your web server
  2. Modify file /app/webroot/.htaccess file

Modify the /app/webroot/ .htaccess file to the following:

<IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteCond %{REQUEST_FILENAME} !-d
 RewriteCond %{REQUEST_FILENAME} !-f
 RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L]
</IfModule>

Notice the / in front of the index.php. That simple change makes everything work great. If your project is in a folder (www.domain.com/application) just appended it to the beginning /application/index.php.