If you are hosting a cakephp application in a sub-directory of godaddy (why would you?).
You can also host multiple cakephp app domains in this way.
Put this .htaccess file in your html directory:
You can also host multiple cakephp app domains in this way.
Put this .htaccess file in your html directory:
RewriteEngine On
Options +FollowSymLinks -MultiViews -Indexes
RewriteCond %{HTTP_HOST} ^(www\.)?example1\.com$ [NC]
RewriteRule ^(.*)$ /var/chroot/home/content/11/11111111/html/example1/webroot/$1 [L]
RewriteCond %{HTTP_HOST} ^(www\.)?example2\.com$ [NC]
RewriteRule ^(.*)$ /var/chroot/home/content/11/11111111/html/example2/webroot/$1 [L]
The .htaccess files inside the example1 and example2 subdirectories are the standard configurations.