Re: cPanel shared hosting

2009-08-11 Thread brian

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, JamesFusaexportexpe...@gmail.com 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 thatsgreat2...@gmail.com 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 ics.cake...@gmail.com 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 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
-~--~~~~--~~--~--~---



Re: cPanel shared hosting

2009-08-11 Thread brian

That seems like a good method for this instance, where there isn't
(likely) to be a bunch of other Cake apps floating around. So, no need
to make the libs shareable.

On Mon, Aug 10, 2009 at 7:31 PM, thatsgreat2345thatsgreat2...@gmail.com 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 ics.cake...@gmail.com 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 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
-~--~~~~--~~--~--~---



Re: cPanel shared hosting

2009-08-11 Thread Alexandru Ciobanu
On 8/11/2009 9:23 AM, brian wrote:
 That seems like a good method for this instance, where there isn't
 (likely) to be a bunch of other Cake apps floating around. So, no need
 to make the libs shareable.

FYI:
For shared cake libs I use the setup described in the book.
http://book.cakephp.org/view/35/Advanced-Installation
Basically I just edit the |CAKE_CORE_INCLUDE_PATH.
|

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



Re: cPanel shared hosting

2009-08-10 Thread Alexandru Ciobanu

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



Re: cPanel shared hosting

2009-08-10 Thread thatsgreat2345

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 ics.cake...@gmail.com 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 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
-~--~~~~--~~--~--~---



Re: cPanel shared hosting

2009-08-10 Thread JamesF

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 thatsgreat2...@gmail.com 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 ics.cake...@gmail.com 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 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
-~--~~~~--~~--~--~---



cPanel shared hosting

2009-08-09 Thread brian

I have to move a site from my server to another, which is a
shared-hosting acct. with cPanel. Currently, the setup is as follows
(in /var/www/vhosts/SITE):

app/
webroot
cake - cake_1.2.3.8166

... where cake is a soft link to the libs. Normally, the libs point to
/var/lib/php/cake but, fot this site, I've left everything bundled
together as I know it's being taken away to another server.

I'm having some difficulty figuring out where to put things on the
other server, and how to configure index.php as well as the .htaccess
files. Or, actually, someone else with no Cake experience is. And my
experience with cPanel is quite minimal, so we're not making much
headway. I assume that the cake dir will reside next to app, as it is
now. But, from reading some vague instructions online, it seems that I
have to put webroot somewhere else. Or, do I just drop everything into
cPanel's public_html dir?

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?

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