I'm trying to install cakePHP on a shared hosting setup. After extracting the files to a location like ~/public_html/dev/cake and visiting the appropriate URL (in this case http://hostname/~username/dev/cake/), I receive a 404 error:
Not Found
The requested URL /usr/home/username/public_html/dev/cake/app/webroot/ was not found on this server.
Bunun için nedeni yakından incelenirse, için mutlak yol ~/public_html aslında /usr/home/username/public_html olmadığını, daha ziyade /usr/www/users/username/ şüpheleniyoruz.
Here's what I've been trying (but obviously it's not working): (~/public_html/dev/cake/app/webroot/.htaccess)
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /usr/www/users/username/dev/cake/app/webroot/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
</IfModule>
Ne yazık ki, bu bir şey değiştirmek için görünmüyor (404 mesaj aynı kalır). Düşünceler?