Cake 2.0 beings some canges to the router to help with subdomains that were touched on at CakeFest: http://book2.cakephp.org/en/appendices/new-features-in-cakephp-2-0.html?highlight=subdomain
HTT, Paul @phpMagpie On Sep 5, 1:38 am, "#2Will" <[email protected]> wrote: > comparing debug($_SERVER) between local and stage sites > > local: [PHP_SELF] => /app/webroot/index.php/people/login > stage: [PHP_SELF] => /app/webroot/people/login > > This seems like a likely to be relevent, but what could be causing > it? I think i have all my htaccess files present. > > Looking at other apps ive deployed to subdomain-stage , the PHP_SELF > is /app/webroot/index.php without the /controller/action - but > thats 1.3 apps. > > hmm. more digging. > > On Sep 5, 10:11 am, "#2Will" <[email protected]> wrote: > > > > > > > > > just running some debug statements looking at paths: > > > debug(ROOT); > > debug(WWW_ROOT); > > debug(WEBROOT_DIR); > > debug(APP_DIR); > > debug(APP_PATH); > > gives me > > > /home/kindlem1/public_html/elip > > /home/kindlem1/public_html/elip/app/webroot/ > > webroot > > app > > /home/kindlem1/public_html/elip/app/ > > > Which i think looks as expected. > > > On Sep 5, 9:58 am, "#2Will" <[email protected]> wrote: > > > > Sorry, forgot to mention: i'm on 2.0 rc1 > > > > On Sep 5, 9:56 am, "#2Will" <[email protected]> wrote: > > > > > Hello > > > > > I have deployed a little app to a subdomain as a stage environment - > > > > iv'e done this before with 1.3 apps and not had to do anything special > > > > to get it to work. The app works on my localhost > > > > > I'm getting errors where for example the login form now gives error > > > > > Error: The requested address '/app/webroot/people/people/login' was > > > > not found on this server > > > > > and if i enable debug in config.php debug kit gives is broken, with > > > > files missing because they are pointing to wrong addresses > > > > > eg: app/webroot/people/debug_kit/js/js_debug_toolbar.js > > > > > Is there something special i need to do for cakephp2 apps in > > > > subdomains? > > > > > Thanks v much for any help, > > > > > will -- 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
