Friday, January 20, 2012

Routing Problem with CakePHP 2 in subdirectory without mod_rewrite

Taking a plain CakePHP 2.0.5 (or minor) and installing it in a subdirectory without mod_rewrite (removing the 3 .htaccess and uncommenting "Configure::write('App.baseUrl', env('SCRIPT_NAME'));" in core.php) brings up the following problem:

Loading the root page like this: http://servername/some/subdir/ shows the error "SomeController could not be found." 
whereas loading the root page like this: http://servername/some/subdir/index.php works

Might this be an Apache configuration issue? With CakePHP 1.3 I hadn't that problem on the same machine.

Thanks, Stefan

--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate