I have two apps, both sharing the core cake files.  App 1 is in the
app folder, same directory as /cake, and it's the default app, so the
domain is hitting the .htaccess files and issuing the correct
application.

App 2 is in a directory called /app2, which is in the same directory
as above with /app and /cake, and the DOCUMENT_ROOT is pointing to /
app2 instead of /app2/webroot.  I can't change this.

So, when I do a $this->redirect() from any controller, it keeps
appending a /webroot to the beginning of my url.  For example,
redirecting to /login will take me to /webroot/login.

I did find a fix at the following link, but it still doesn't answer my
question.  This fix requires to put "RewriteBase /" in the /
app2/.htaccess file, and to define the WEBROOT_DIR to '/' in /app2/
webroot/index.php.

http://groups.google.com/group/cake-php/browse_thread/thread/d70c8a16dbb83c2b/3714d578c58846b1

So, is this a bug?  It seems to me that I should be able to point
DOCUMENT_ROOT to either the /app2 or /app2/webroot directories.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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