On Sun, Apr 17, 2011 at 2:04 AM, Ryan Schmidt <[email protected]> wrote: > On Apr 16, 2011, at 11:24, varai wrote: > Request exceeded the limit of 10 internal redirects due to probable > configuration error. Use 'LimitInternalRecursion' to increase the > limit if necessary. Use 'LogLevel debug' to get a backtrace.
It shouldn't do that out of the box, I think your rewrite scheme is rooted from your apache document root, instead of the roots for your two projects, or maybe you neglected to mark one of the more forgiving regular expressions as last-in-execution. Some hosting providers use tricky url rewriting schemes to implement automated virtualhosting using url rewriting and proxying requests back and forth between instances, and the default Cake supplied rewrite rules needed some slight tweaking so as to not blindly match every request, a simple thing like a trailing slash or a less catchy rewrite expression in the right place usually makes the recursion errors go away, but since you're accessing your projects on localhost, i doubt thats the case here. If you can't get it sorted out by enabling debug logging, Like Ryan suggested, you should post your httpd.conf(s) and the .htaccess (theres one in /app/webroot/ and the docroot by default) files used , and part of your directory layout, since you seem to be using multiple projects from the same virtual host, i think thats where the problem lies, your url scheme is probably being rewritten for a single cake project that is assumed to have the full url namespace to itself, instead of for multiple, and so certain requests get routed around recursively when they need not. Yuka -- 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
