mod_rewrite is not working. Check that it's loaded and you have
AllowOverride All for your cake install dir.

On Oct 24, 12:00 pm, 浪漫様 <[email protected]> wrote:
> dear all,
> i had been using cakephp for long time already and never had that
> problem.
> i have to create a site for a client and they give me a hosting
> running on a CentOS machine.
> i uploaded all cakephp files, changed the salt, made connection to db,
> etc... BUT the CSS is not loaded and URL rewriting seems wrong ( not
> working except for app )
>
> CakePHP version: 1.2.4.8284
> PHP version: 4.4.9 with mod_rewrite module loaded
>
> You can see PHP configuration here:http://www.creta.org.tw/php.php
> You can see Cake running here:http://www.creta.org.tw
>
> This URL [http://www.creta.org.tw/app] says "Missing Method in
> AppController"
> This URL [http://www.creta.org.tw/users/create] says "The requested
> URL /users/create was not found on this server."
> This URL [http://www.creta.org.tw/app/webroot/css/cake.generic.css]
> would actually show the contents of the CSS file
> So something is going bad on here and i don't know how to fix it.
>
> My .htaccess files are as follow:
>
> /.htaccess
> <IfModule mod_rewrite.c>
>     RewriteEngine On
>     RewriteRule    ^$ app/webroot/     [L]
>     RewriteRule    (.*) app/webroot/$1 [L]
> </IfModule>
>
> /app/.htaccess
> <IfModule mod_rewrite.c>
>     RewriteEngine On
>     RewriteRule    ^$   webroot/      [L]
>     RewriteRule    (.*) webroot/$1    [L]
> </IfModule>
>
> /app/webroot/.htacess
> <IfModule mod_rewrite.c>
>     RewriteEngine On
>     RewriteCond %{REQUEST_FILENAME} !-d
>     RewriteCond %{REQUEST_FILENAME} !-f
>     RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
> </IfModule>
>
> Thanks in advance!
>
> Rohman
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to