My guess would be some configuration needs to go on in webroot/index.php

Have you played with this at all?

Also, how are you pointing foo.com to /foo? URL rewriting, redirects, what?

Beowolf wrote:
> I've been working with a local cake install, and everything has been
> fine.  All the folders are in a subfolder of DocumentRoot.
>
> I had a few problems when uploading it to my isp.  The manual doesn't
> seem to cover my circumstances, and most threads about it I could find
> refer to the defunct wiki.
>
> First off, I can't change documentroot.
>
> There is already a site up at www.beowolf.org.uk, and this needs to
> remain untouched.  I have an addon domain, www.foo.com, pointing to
> www.beowolf.org.uk/foo, and this is where I want the app to be
> located.
>
> I finally found a thread that suggested the following layout:
>
> --home/beowolf/public_html
> ---------------------------------------/cake
> -----------------------------------------------/cake
> -----------------------------------------------/docs
> -----------------------------------------------/scripts
> -----------------------------------------------/etc
> ---------------------------------------/foo
> --------------------------------------------/config
> --------------------------------------------/controllers
> --------------------------------------------/models
> --------------------------------------------/etc
>
> This works.
>
> But - there has to be a but - I'm getting /webroot prepended to any
> urls.
>
> If I go to www.foo.com/about, it is displayed correctly.  It links to
> the page /contact - but the link is actually /webroot/contact.
> clicking on it works, and the 'backlink' to /about is now /webroot/
> about - and this also works.
>
> Of course, I'd rather not have /webroot in the url.
>
> I hope all this makes sense.
>
> (These pages are all static, and served by the pages controller.)
>
>
> >
>   

--~--~---------~--~----~------------~-------~--~----~
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