Hi there,
I've build a pretty fine web application in cake which runs absolutely
smooth on my local server. However, when i try to put the app online i
get the (browser) message that my browser doesn't understand the
website's request.
Figuring that this would have something to do with the mod
In my experiences, you can enable mod rewrite in some shared hosting
environments by placing something like this in a .htaccess file:
IfModule mod_rewrite.c
RewriteEngine on
RewriteRule^$ app/webroot/[L]
RewriteRule(.*) app/webroot/$1 [L]
/IfModule
What you'll notice
I had similar problem with one ISP. Actually adding RewriteBase /
before the RewriteRule makes it works, fixing the base of the rule
to the webroot directory.
My .htaccess in webroot looked like this :
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f