That seems like a good way to do it. I'm a big fan of being able to
easily switch between versions.

I'll package it up like that and see if I can make it work.

On Mon, Aug 10, 2009 at 9:50 PM, JamesF<[email protected]> wrote:
>
> my cpanel setup is as follows
>
> /home/jamesf/
>
> is my cpanel accounts directory on the server
>
> /home/jamesf/public_html
> is where apache serves the webroot stuff
>
> i set my cakephp lib stuff into a dir above public_html
>
> /home/jamesf/usr/cakedev/cakeversion/cake/
>
> and my app stuff in a seperate folder for my different versions
>
> /home/jamesf/usr/myapp/versionx123/
>
> that way when i pop in a new version i just create a new directory.
>
> all the webroot stuff img/css/js is in public_html root with the
> default htaccess that ships with cake.
>
> you have to edit index.php in /public_html/ and point it to those
> absolute paths you are using.
>
> i personally wouldn't keep my /app and /cake folders in the /
> public_html directory as a matter of security.
>
> On Aug 10, 7:31 pm, thatsgreat2345 <[email protected]> wrote:
>> I usually have the app still inside the cakephp directory, and then
>> depending if I have multiple apps on the host depends if I put webroot
>> in subfolders, or just in public_html. Then just have to modify the
>> index.php in the webroot to direct it to the location of cakephp for
>> the root, and then the name of the app folder. Then all you have to
>> worry about is mod_rewrite and you are good to go.
>> /public_html
>> ../webroot stuff here
>> /cakephp
>> ../app
>>
>> On Aug 10, 3:44 pm, Alexandru Ciobanu <[email protected]> wrote:
>>
>> > On 8/10/2009 6:03 AM, brian wrote:
>>
>> > > To complicate things, I need to access this other site through an IP,
>> > > not a domain. If anyone has done this, could you please post some
>> > > hints?
>>
>> > Hi Brian,
>>
>> > I've deployed several cake apps on cPanel shared hosting. Nothing to be
>> > customized, just drop the entire application in public_html or www ( in
>> > most cases a symlink to public_html).
>>
>> > Resulting tree:
>>
>> > $ ls public_html/
>> > app/
>> > cake/
>> > .htaccess
>> > index.php
> >
>

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