Re: cakephp 2 app deployed on a subdomain

2011-09-07 Thread #2Will
agreed.  In my experience, it is never a bug with cake, always
something i did wrong or a server set up thing.

hmm, its wobbling along now ok.  Ill report back what happens when it
deploys to the live server rather than this shared staging
environment.

thanks for helping me out with this.

will

On Sep 7, 9:44 pm, WebbedIT  wrote:
> >  why the change?
> > is it  a bug? Something wrong with the server setup?
>
> Doubt it's a bug or more people than you would be mentioning it.
>
> Someone more experienced with Cake2.0 / .htaccess / mod_rewrite would
> ahve to answer that one though, currently out of my little league.
>
> HTH, Paul

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


Re: cakephp 2 app deployed on a subdomain

2011-09-07 Thread WebbedIT
>  why the change?
> is it  a bug? Something wrong with the server setup?

Doubt it's a bug or more people than you would be mentioning it.

Someone more experienced with Cake2.0 / .htaccess / mod_rewrite would
ahve to answer that one though, currently out of my little league.

HTH, Paul

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


Re: cakephp 2 app deployed on a subdomain

2011-09-06 Thread #2Will
hmm.  i fixed it. sort of.

My htaccess in webroot was:


RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,L]


but looking at a 1.3 app on the same server (different subdomain) it
was


RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
   RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]


So i have used this and the app is working.   Obviously not ideal to
be sticking bits of 1.3 into my 2.0 app to get it working.  I don't
really understand the changes in the htaccess file  - why the change?
is it  a bug? Something wrong with the server setup?

thanks

will

On Sep 7, 8:09 am, "#2Will"  wrote:
> Sorry for confusion, yes thats right just an app, deployed in the
> simple cake way, whole thing up onto the one area (which happens to be
> a subdomain)
>
> its just /people/login for the login action
>
> On Sep 6, 5:44 pm, WebbedIT  wrote:
>
>
>
>
>
>
>
> > No I think you're reading it right, but if it's a different app it's a
> > different app - a sub-domain is still a different domain when used in
> > that context.
>
> > If you want to have one central core you can go for the advanced
> > installation but if I read your post fully I can see I have been
> > thrown by your topic mentioning sub-domains (note to self: stop skim
> > reading people posts).
>
> > OK, so this has nothing to do with sub-domains, this is simply a
> > configuration issue on a different domain.  Looks as thought
> > the .htaccess files are not doing their jobs correctly.
>
> > Do your other apps access the login at '/app/webroot/people/people/
> > login' or do they instead  access '/people/login'?
>
> > HTH, Paul
> > @phpMagpie
>
> > On Sep 6, 12:29 am, "#2Will"  wrote:
>
> > > ok, thank you for replying.
>
> > > I think what they are talking about in that is when you want to be
> > > able to use different subdomains for different links etc?
>
> > > That shouldn't be necessary just to deploy the whole app to a
> > > subdomain should it?  or am i reading that wrong?
>
> > > Thanks
>
> > > will
>
> > > On Sep 5, 9:59 pm, WebbedIT  wrote:
>
> > > > 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.ht...
>
> > > > HTT, Paul
> > > > @phpMagpie
>
> > > > On Sep 5, 1:38 am, "#2Will"  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"  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"  wrote:
>
> > > > > > > Sorry, forgot to mention: i'm on 2.0 rc1
>
> > > > > > > On Sep 5, 9:56 am, "#2Will"  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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 

Re: cakephp 2 app deployed on a subdomain

2011-09-06 Thread #2Will
Sorry for confusion, yes thats right just an app, deployed in the
simple cake way, whole thing up onto the one area (which happens to be
a subdomain)

its just /people/login for the login action


On Sep 6, 5:44 pm, WebbedIT  wrote:
> No I think you're reading it right, but if it's a different app it's a
> different app - a sub-domain is still a different domain when used in
> that context.
>
> If you want to have one central core you can go for the advanced
> installation but if I read your post fully I can see I have been
> thrown by your topic mentioning sub-domains (note to self: stop skim
> reading people posts).
>
> OK, so this has nothing to do with sub-domains, this is simply a
> configuration issue on a different domain.  Looks as thought
> the .htaccess files are not doing their jobs correctly.
>
> Do your other apps access the login at '/app/webroot/people/people/
> login' or do they instead  access '/people/login'?
>
> HTH, Paul
> @phpMagpie
>
> On Sep 6, 12:29 am, "#2Will"  wrote:
>
>
>
>
>
>
>
> > ok, thank you for replying.
>
> > I think what they are talking about in that is when you want to be
> > able to use different subdomains for different links etc?
>
> > That shouldn't be necessary just to deploy the whole app to a
> > subdomain should it?  or am i reading that wrong?
>
> > Thanks
>
> > will
>
> > On Sep 5, 9:59 pm, WebbedIT  wrote:
>
> > > 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.ht...
>
> > > HTT, Paul
> > > @phpMagpie
>
> > > On Sep 5, 1:38 am, "#2Will"  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"  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"  wrote:
>
> > > > > > Sorry, forgot to mention: i'm on 2.0 rc1
>
> > > > > > On Sep 5, 9:56 am, "#2Will"  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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: cakephp 2 app deployed on a subdomain

2011-09-06 Thread WebbedIT
No I think you're reading it right, but if it's a different app it's a
different app - a sub-domain is still a different domain when used in
that context.

If you want to have one central core you can go for the advanced
installation but if I read your post fully I can see I have been
thrown by your topic mentioning sub-domains (note to self: stop skim
reading people posts).

OK, so this has nothing to do with sub-domains, this is simply a
configuration issue on a different domain.  Looks as thought
the .htaccess files are not doing their jobs correctly.

Do your other apps access the login at '/app/webroot/people/people/
login' or do they instead  access '/people/login'?

HTH, Paul
@phpMagpie

On Sep 6, 12:29 am, "#2Will"  wrote:
> ok, thank you for replying.
>
> I think what they are talking about in that is when you want to be
> able to use different subdomains for different links etc?
>
> That shouldn't be necessary just to deploy the whole app to a
> subdomain should it?  or am i reading that wrong?
>
> Thanks
>
> will
>
> On Sep 5, 9:59 pm, WebbedIT  wrote:
>
>
>
>
>
>
>
> > 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.ht...
>
> > HTT, Paul
> > @phpMagpie
>
> > On Sep 5, 1:38 am, "#2Will"  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"  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"  wrote:
>
> > > > > Sorry, forgot to mention: i'm on 2.0 rc1
>
> > > > > On Sep 5, 9:56 am, "#2Will"  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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: cakephp 2 app deployed on a subdomain

2011-09-05 Thread #2Will
ok, thank you for replying.

I think what they are talking about in that is when you want to be
able to use different subdomains for different links etc?

That shouldn't be necessary just to deploy the whole app to a
subdomain should it?  or am i reading that wrong?

Thanks

will

On Sep 5, 9:59 pm, WebbedIT  wrote:
> 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.ht...
>
> HTT, Paul
> @phpMagpie
>
> On Sep 5, 1:38 am, "#2Will"  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"  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"  wrote:
>
> > > > Sorry, forgot to mention: i'm on 2.0 rc1
>
> > > > On Sep 5, 9:56 am, "#2Will"  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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: cakephp 2 app deployed on a subdomain

2011-09-05 Thread WebbedIT
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"  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"  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"  wrote:
>
> > > Sorry, forgot to mention: i'm on 2.0 rc1
>
> > > On Sep 5, 9:56 am, "#2Will"  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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: cakephp 2 app deployed on a subdomain

2011-09-04 Thread #2Will
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"  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"  wrote:
>
>
>
>
>
>
>
> > Sorry, forgot to mention: i'm on 2.0 rc1
>
> > On Sep 5, 9:56 am, "#2Will"  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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: cakephp 2 app deployed on a subdomain

2011-09-04 Thread #2Will
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"  wrote:
> Sorry, forgot to mention: i'm on 2.0 rc1
>
> On Sep 5, 9:56 am, "#2Will"  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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: cakephp 2 app deployed on a subdomain

2011-09-04 Thread #2Will
Sorry, forgot to mention: i'm on 2.0 rc1

On Sep 5, 9:56 am, "#2Will"  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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


cakephp 2 app deployed on a subdomain

2011-09-04 Thread #2Will
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php