Re: cakephp on godaddy

2011-03-30 Thread Ben McClure
I know this is an old topic, but just wanted to provide an update. I just 
set up the latest CakePHP in GoDaddy and wanted to post my experience.

First, they are using PHP5 as the default now.

Second, you still get 500 errors on any path. I fixed it by adding the 
following at the start of the rewrite code in the .htaccess file under the 
webroot directory:
RewriteBase /

-- 
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 on godaddy

2011-03-30 Thread Ben McClure
Rather than make it an absolute path (putting '/' before index.php) couldn't 
you just reset RewriteBase to '/'?

-- 
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 on godaddy

2007-03-04 Thread Michael Rubanov
You right in both cases :)
After my support experiences and all rewrite problems I will not use godaddy
in next projects.
Your suggestion about RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L] is right
!!!

It's working , thank you very much !!!

On 3/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> I know this isn't much help... but my suggestion is to use not use
> godaddy for hosting! I still have most of my domains registered though
> godaddy (too much trouble to move them all), but their hosting is very
> restrictive.
>
> I have been using www.1and1.com (linux business account)  for nearly 2
> years, without a single complaint.
>
> -their prices are unbeatable
> -their customer service is "adequate" (I've only had to use it
> once)
> -and cakePHP works great (php4 and/or php5)
>
> As someone said, it is mass budget hosting, so don't expect personal
> service.
>
> I had to make one change to the .htaccess file to get cake to work
> properly:
> Change this:
> RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
> To this:
> RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L]
>
> gl,
> cook
>
>
> >
>


-- 
Best Regards,

Michael Rubanov.

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



Re: cakephp on godaddy

2007-03-04 Thread [EMAIL PROTECTED]

I know this isn't much help... but my suggestion is to use not use
godaddy for hosting! I still have most of my domains registered though
godaddy (too much trouble to move them all), but their hosting is very
restrictive.

I have been using www.1and1.com (linux business account)  for nearly 2
years, without a single complaint.

-their prices are unbeatable
-their customer service is "adequate" (I've only had to use it
once)
-and cakePHP works great (php4 and/or php5)

As someone said, it is mass budget hosting, so don't expect personal
service.

I had to make one change to the .htaccess file to get cake to work
properly:
Change this:
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]
To this:
RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L]

gl,
cook


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



Re: cakephp on godaddy

2007-03-04 Thread Sam Sherlock
My Idea was:

1) To see if cakePHP can work using internal rewrite - I think you need to
delete the .htaccess

Now if this works, you may have to settle for using cakePHP without mod
rewrite - but at least its working

A month or so ago I was having troubles with 1and1 and mod_rewrite - not
exactly parallel, but a few similarities

GoDaddy is a not a host I have familiarity with  but I believe  its a mass
budget shared hosting service like 1and1.  Therefore they have config'd the
servers to alleviate some issues

In my case the support staff were no help at all, PaulIV on this list put me
in the right direction

Not saying that this is a solution that will work for you but it may be of
help.

- S

On 04/03/07, Michael Rubanov <[EMAIL PROTECTED]> wrote:
>
> Hey Sam ,
>
> 1. To enable internal rewrite I uncommented:
> define ('BASE_URL', env('SCRIPT_NAME'));
>
> In godaddy hosting env('SCRIPT_NAME') equals to 0...
> Do I have to define it manually ?
> What url do I put there ?
> The sub domain url ?
>
> 2. After internal rewrite is on , I getting dispatcher errors :
>
> *Warning*: preg_replace(): Unknown modifier 'a' in *dispatcher.php* on
> line *487
>
> *Sam do you have some idea ?**
>
>
> On 3/4/07, Sam Sherlock < [EMAIL PROTECTED] > wrote:
> >
> > What happens when mod rewrite is off and your using internal rewrite?
> >
> > On 04/03/07, Michael Rubanov <[EMAIL PROTECTED] > wrote:
> > >
> > > Actually the "missing" component is in place .
> > >
> > > I found that problem is connected to godaddy's freaky
> > > mod_rewrite/htacces setup.
> > > When I turning of mod_rewrite support i core.php I got a app working
> > > but dispatcher showing an errors.
> > >
> > > When mod_rewrite future is on , I am getting 500 errors on all
> > > controllers...
> > >
> > > I had a similar problem with wordpress plugins development , when I
> > > tried to define additional rewrite rules via worpress hook , which is
> > > working excellent in development environment but not on godaddy's 
> > > hosting...
> > >
> > >
> > >
> > > On 3/4/07, gwoo <[EMAIL PROTECTED] > wrote:
> > > >
> > > >
> > > > what is the missing file? Sounds less to do with godaddy and the
> > > > subdomain, and more to do with the code in your controller.
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Best Regards,
> > >
> > > Michael Rubanov.
> > > ##  ICQ 7299656  ##
> > >
> > >
> > >
> >
> >
> >
>
>
> --
> Best Regards,
>
> Michael Rubanov.
> >
>

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



Re: cakephp on godaddy

2007-03-04 Thread Michael Rubanov
Hey Sam ,

1. To enable internal rewrite I uncommented:
define ('BASE_URL', env('SCRIPT_NAME'));

In godaddy hosting env('SCRIPT_NAME') equals to 0...
Do I have to define it manually ?
What url do I put there ?
The sub domain url ?

2. After internal rewrite is on , I getting dispatcher errors :

*Warning*: preg_replace(): Unknown modifier 'a' in *dispatcher.php* on line
*487

*Sam do you have some idea ?**


On 3/4/07, Sam Sherlock <[EMAIL PROTECTED]> wrote:
>
> What happens when mod rewrite is off and your using internal rewrite?
>
> On 04/03/07, Michael Rubanov <[EMAIL PROTECTED] > wrote:
> >
> > Actually the "missing" component is in place .
> >
> > I found that problem is connected to godaddy's freaky
> > mod_rewrite/htacces setup.
> > When I turning of mod_rewrite support i core.php I got a app working but
> > dispatcher showing an errors.
> >
> > When mod_rewrite future is on , I am getting 500 errors on all
> > controllers...
> >
> > I had a similar problem with wordpress plugins development , when I
> > tried to define additional rewrite rules via worpress hook , which is
> > working excellent in development environment but not on godaddy's hosting...
> >
> >
> >
> > On 3/4/07, gwoo <[EMAIL PROTECTED] > wrote:
> > >
> > >
> > > what is the missing file? Sounds less to do with godaddy and the
> > > subdomain, and more to do with the code in your controller.
> > >
> > >
> > >
> >
> >
> > --
> > Best Regards,
> >
> > Michael Rubanov.
> > ##  ICQ 7299656  ##
> >
> >
> >
>
> >
>


-- 
Best Regards,

Michael Rubanov.

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



Re: cakephp on godaddy

2007-03-04 Thread Sam Sherlock
What happens when mod rewrite is off and your using internal rewrite?

On 04/03/07, Michael Rubanov <[EMAIL PROTECTED]> wrote:
>
> Actually the "missing" component is in place .
>
> I found that problem is connected to godaddy's freaky mod_rewrite/htacces
> setup.
> When I turning of mod_rewrite support i core.php I got a app working but
> dispatcher showing an errors.
>
> When mod_rewrite future is on , I am getting 500 errors on all
> controllers...
>
> I had a similar problem with wordpress plugins development , when I tried
> to define additional rewrite rules via worpress hook , which is working
> excellent in development environment but not on godaddy's hosting...
>
>
> On 3/4/07, gwoo <[EMAIL PROTECTED]> wrote:
> >
> >
> > what is the missing file? Sounds less to do with godaddy and the
> > subdomain, and more to do with the code in your controller.
> >
> >
> >
>
>
> --
> Best Regards,
>
> Michael Rubanov.
> ##  ICQ 7299656  ##
>
> >
>

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



Re: cakephp on godaddy

2007-03-04 Thread Michael Rubanov
Actually the "missing" component is in place .

I found that problem is connected to godaddy's freaky mod_rewrite/htacces
setup.
When I turning of mod_rewrite support i core.php I got a app working but
dispatcher showing an errors.

When mod_rewrite future is on , I am getting 500 errors on all
controllers...

I had a similar problem with wordpress plugins development , when I tried to
define additional rewrite rules via worpress hook , which is working
excellent in development environment but not on godaddy's hosting...


On 3/4/07, gwoo <[EMAIL PROTECTED]> wrote:
>
>
> what is the missing file? Sounds less to do with godaddy and the
> subdomain, and more to do with the code in your controller.
>
>
> >
>


-- 
Best Regards,

Michael Rubanov.
##  ICQ 7299656  ##

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



Re: cakephp on godaddy

2007-03-04 Thread gwoo

what is the missing file? Sounds less to do with godaddy and the
subdomain, and more to do with the code in your controller.


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



Re: CakePHP on goDaddy?

2006-10-16 Thread [EMAIL PROTECTED]

Great! Exactly what I was looking for. I'll give it a try tonight and
let you know.  Thanks!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



Re: CakePHP on goDaddy?

2006-10-16 Thread Rick Tuttle

I have a site set up on GoDaddy.

Since you can't access any files/folders above the public webroot on
GoDaddy and you can't change the DocumentRoot to a subdirectory I had
to put cake and the app directory UNDERNEATH the webroot directory
which is at GoDaddy's "/".

Then modify webroot's index.php

if (!defined('ROOT'))
{
//define('ROOT', 'FULL PATH TO DIRECTORY WHERE APP DIRECTORY IS LOCATED
DO NOT ADD A TRAILING DIRECTORY SEPARATOR';
//You should also use the DS define to seperate your directories
//define('ROOT', dirname(dirname(dirname(__FILE__;
define('ROOT', '/home/content/y/o/u/yoursite/html');   // change to
whatever your GoDaddy root path is
}

if (!defined('APP_DIR'))
{
//define('APP_DIR', 'DIRECTORY NAME OF APPLICATION';
//define ('APP_DIR', basename(dirname(dirname(__FILE__;
define ('APP_DIR', 'app');
}

/**
 * This only needs to be changed if the cake installed libs are located
 * outside of the distributed directory structure.
 */
if (!defined('CAKE_CORE_INCLUDE_PATH'))
{
//define ('CAKE_CORE_INCLUDE_PATH', FULL PATH TO DIRECTORY WHERE CAKE
CORE IS INSTALLED DO NOT ADD A TRAILING DIRECTORY SEPARATOR';
//You should also use the DS define to seperate your directories
define('CAKE_CORE_INCLUDE_PATH', ROOT);
}


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



Re: CakePHP on goDaddy?

2006-10-15 Thread [EMAIL PROTECTED]

Thanks. I think it's my APP_DIR setting in the index.php page.  I think
the ROOT is set right now. I'll just keep trying things.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



Re: Re: CakePHP on goDaddy?

2006-10-15 Thread Samuel DeVore

this site  http://www.glicksmanlaw.com/ is a very basic cake site
running on the private label hosting component of godaddy  wildwest
domains.  When I get to work tomorrow, I'll login and see how it is
set up (I can't remember the logins off the top of my head)  And see
if that helps you.

Sam D

On 10/15/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I'm wondering what I need to set in my index.php file in my www
> directory?   Specifically, what to set my Root directory to.
>
> [EMAIL PROTECTED] wrote:
> > Anyone have any luck getting cake to work on goDaddy?  I'm not having
> > much luck.
>
>
> >
>


-- 
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness will cost you

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---



Re: CakePHP on goDaddy?

2006-10-15 Thread [EMAIL PROTECTED]

I'm wondering what I need to set in my index.php file in my www
directory?   Specifically, what to set my Root directory to.

[EMAIL PROTECTED] wrote:
> Anyone have any luck getting cake to work on goDaddy?  I'm not having
> much luck.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~--~~~~--~~--~--~---