hi all, i'm pretty new to cakephp and i'm having a difficult time
getting it setup the way i want.

just to test, i originally set it up using the "production" method,
went through the blog tutorial, and everything was working fine.

now i need to reorganize things so that:

- i can create separate discrete cake applications on my server.  they
will have URLs like mydomain.com/app1, mydomain.com/app2, etc
- all applications share the same cake core files
- the document root is at the same level as the cake directory

the structure i want would look something like this:

/var/www
     + public_html (contains all publicly accessible files)
          + app1
               - index.php
               + css
               + img
               (etc)
          + app2
     + cake (contains cake core and app files)
          + cake
          + apps
               + app1
                    + config
                    + controls
                    (etc)
               + app2

(i hope that formats correctly, there doesn't appear to be a preview
option)

i changed the options in public_html/app1/index.php to point to the
cake core and my app directory, and the index (at mydomain.com/app1)
file loads just fine with the database message, etc.  but when i go to
mydomain.com/app1/posts to view the data from the blog tutorial i get
a file not found error.

i hope i'm missing one small step.. any ideas?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to