In case you access your app with

http://localhost*/myapp*

then

RewriteBase */myapp*

In case try look at server logs, should be somewhere, in my case is
/var/log/apache2/error.log
/var/log/apache2/access.log
(/var/log/apache2/rewrite.log)

Those are always useful

Il 14/03/2012 15:28, timska77 ha scritto:
Thank you for responding. The AllowOverride directive has been set to
All. Neither of the RewriteBase entries worked but I may not be
understanding "your-cake-subdir", where should the path be starting?

On Mar 14, 4:04 am, luca capra<[email protected]>  wrote:
If you are on a virtual host try adding

RewriteBase /
#or
RewriteBase /your-cake-subdir

in ROOT/.htaccess or ROOT/app/webroot/.htaccess
Either check your apache host config for

AllowOverride All

directive

Il 13/03/2012 21:52, timska77 ha scritto:

Hello, I'm trying to install Cake 2.1 on MAMP 2.01, running Apache
2.2.17 and PHP 5.3.6. Been searching and trying everything I can but
I'm having trouble getting Cake set up, I have Zend working ok so I'm
not totally clueless, but I'm not super skilled at setting up servers
so I hope someone can help. I've got two large, scathing error
messages on the Cake start page:
Error:  The action webroot is not defined in controller AppController
Error:  Create AppController::webroot() in file: app/Controller/
AppController.php.
These are followed by:
<?php
class AppController extends AppController {
    public function webroot() {
    }
}
Any related posts seem to point to mod_rewrites being disabled but I
have a Drupal install on the same MAMP install and rewrites are
working there just fine there, and all of the htaccess files are where
they're supposed to be in the Cake directory/subdirectories. Does
anyone have any suggestions? Thanks in advance for any help or advice!

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to