Re: cakephp on shared hosted environment

2007-08-06 Thread francky06l

If you guys could tell where you host, I am quite sure someone does
host cake too and can share solutions :-)

On Aug 7, 12:17 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> With some shared hosts you also have to add in the .htaccess to get
> mod_rewrite working
>
> Options +Followsymlinks


--~--~-~--~~~---~--~~
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 shared hosted environment

2007-08-06 Thread [EMAIL PROTECTED]

With some shared hosts you also have to add in the .htaccess to get
mod_rewrite working

Options +Followsymlinks


--~--~-~--~~~---~--~~
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 shared hosted environment

2007-08-05 Thread francky06l

I do same as Baz, the RewriteBase before the RewriteRule. I also had
to remove the  tags for one on them.

On Aug 5, 6:29 pm, Baz <[EMAIL PROTECTED]> wrote:
> Usually when I get that error a:
> RewriteBase /
>
> usually clears things up.
>
> --
> Baz L
> Day In The Life of Bazhttp://www.LifeOfBaz.com
>
> On 8/5/07, Jon Bennett <[EMAIL PROTECTED]> wrote:
>
>
>
> > > I am actually having the same problem. .htaccess works, but how do I
> > > remap my /www root to /cake/app/webroot ? I have no idea about servers/
> > > htaccess files and I think an answer would make a great addition to
> > > the manual.
>
> > > My server looks like this
>
> > > > home
> > > >> username
> > > >>> cake
> > >  webroot
> > > > app
> > > >>> www
>
> > it's pretty easy, you don't need to touch any of the htaccess files,
> > you just make a change to a define in the index.php file in webroot.
> > Do this:
>
> > 1. upload entire cakephp dir (inc app, webroot etc) to
> > /home/username/cakephp
> > 2. move contents of /app/webroot/ (inc .htaccess) to /home/username/www
> > 3. edit /home/username/www/index.php so it points at to the location
> > of cake, eg:
>
> > define('ROOT', '/home/username/cakephp');
>
> > that's it.
>
> > hth
>
> > jon
>
> > --
>
> > jon bennett
> > w:http://www.jben.net/
> > iChat (AIM): jbendotnet Skype: jon-bennett


--~--~-~--~~~---~--~~
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 shared hosted environment

2007-08-05 Thread Baz
Usually when I get that error a:
RewriteBase /

usually clears things up.

--
Baz L
Day In The Life of Baz
http://www.LifeOfBaz.com

On 8/5/07, Jon Bennett <[EMAIL PROTECTED]> wrote:
>
>
> > I am actually having the same problem. .htaccess works, but how do I
> > remap my /www root to /cake/app/webroot ? I have no idea about servers/
> > htaccess files and I think an answer would make a great addition to
> > the manual.
> >
> > My server looks like this
> >
> > > home
> > >> username
> > >>> cake
> >  webroot
> > > app
> > >>> www
>
> it's pretty easy, you don't need to touch any of the htaccess files,
> you just make a change to a define in the index.php file in webroot.
> Do this:
>
> 1. upload entire cakephp dir (inc app, webroot etc) to
> /home/username/cakephp
> 2. move contents of /app/webroot/ (inc .htaccess) to /home/username/www
> 3. edit /home/username/www/index.php so it points at to the location
> of cake, eg:
>
> define('ROOT', '/home/username/cakephp');
>
> that's it.
>
> hth
>
> jon
>
>
> --
>
> jon bennett
> w: http://www.jben.net/
> iChat (AIM): jbendotnet Skype: jon-bennett
>
> >
>

--~--~-~--~~~---~--~~
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 shared hosted environment

2007-08-05 Thread Jon Bennett

> I am actually having the same problem. .htaccess works, but how do I
> remap my /www root to /cake/app/webroot ? I have no idea about servers/
> htaccess files and I think an answer would make a great addition to
> the manual.
>
> My server looks like this
>
> > home
> >> username
> >>> cake
>  webroot
> > app
> >>> www

it's pretty easy, you don't need to touch any of the htaccess files,
you just make a change to a define in the index.php file in webroot.
Do this:

1. upload entire cakephp dir (inc app, webroot etc) to /home/username/cakephp
2. move contents of /app/webroot/ (inc .htaccess) to /home/username/www
3. edit /home/username/www/index.php so it points at to the location
of cake, eg:

define('ROOT', '/home/username/cakephp');

that's it.

hth

jon


-- 

jon bennett
w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett

--~--~-~--~~~---~--~~
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 shared hosted environment

2007-08-05 Thread Feris Thia

Where do you host ?

Regards,

Feris

On 8/5/07, noWookies <[EMAIL PROTECTED]> wrote:
>
> I am actually having the same problem. .htaccess works, but how do I
> remap my /www root to /cake/app/webroot ? I have no idea about servers/
> htaccess files and I think an answer would make a great addition to
> the manual.
>
> My server looks like this
>
> > home
> >> username
> >>> cake
>  webroot
> > app
> >>> www
>
>
> So far my .htaccess looks like this, but I get a 500 error
>
> 
>RewriteEngine on
> RewriteRule  ^$ /home/username/cake/app/webroot/[L]
> RewriteRule (.*) /home/username/cake/app/webroot/$1 [L]
> RewriteBase /home/username/
> 
>
>
> I understand that this is a server issue and kind of OT in relation to
> CAKE, but it would be great to get some help on this !
>
> Thanks in advance !
>
>
> On Aug 5, 3:41 pm, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> > On 8/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > > Long story short, I have cake running locally fine, but on my shared
> > > hosting environment Im getting 500 internal server errors.
> >
> > The most likely IMO is mod_rewrite not allowed for your account
> >
> > Try using the cakePHP internal routing or holler at your host
> >
> > T
> >
> > --
> > =
> > Cheesecake-Photoblog:http://cheesecake-photoblog.org
> > PHP for E-Biz:http://sanisoft.com
> > =
>
>
> >
>

--~--~-~--~~~---~--~~
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 shared hosted environment

2007-08-05 Thread noWookies

I am actually having the same problem. .htaccess works, but how do I
remap my /www root to /cake/app/webroot ? I have no idea about servers/
htaccess files and I think an answer would make a great addition to
the manual.

My server looks like this

> home
>> username
>>> cake
 webroot
> app
>>> www


So far my .htaccess looks like this, but I get a 500 error


   RewriteEngine on
RewriteRule  ^$ /home/username/cake/app/webroot/[L]
RewriteRule (.*) /home/username/cake/app/webroot/$1 [L]
RewriteBase /home/username/



I understand that this is a server issue and kind of OT in relation to
CAKE, but it would be great to get some help on this !

Thanks in advance !


On Aug 5, 3:41 pm, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> On 8/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > Long story short, I have cake running locally fine, but on my shared
> > hosting environment Im getting 500 internal server errors.
>
> The most likely IMO is mod_rewrite not allowed for your account
>
> Try using the cakePHP internal routing or holler at your host
>
> T
>
> --
> =
> Cheesecake-Photoblog:http://cheesecake-photoblog.org
> PHP for E-Biz:http://sanisoft.com
> =


--~--~-~--~~~---~--~~
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 shared hosted environment

2007-08-05 Thread noWookies



On Aug 5, 3:41 pm, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote:
> On 8/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > Long story short, I have cake running locally fine, but on my shared
> > hosting environment Im getting 500 internal server errors.
>
> The most likely IMO is mod_rewrite not allowed for your account
>
> Try using the cakePHP internal routing or holler at your host
>
> T
>
> --
> =
> Cheesecake-Photoblog:http://cheesecake-photoblog.org
> PHP for E-Biz:http://sanisoft.com
> =


--~--~-~--~~~---~--~~
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 shared hosted environment

2007-08-04 Thread Dr. Tarique Sani

On 8/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Long story short, I have cake running locally fine, but on my shared
> hosting environment Im getting 500 internal server errors.

The most likely IMO is mod_rewrite not allowed for your account

Try using the cakePHP internal routing or holler at your host

T

-- 
=
Cheesecake-Photoblog: http://cheesecake-photoblog.org
PHP for E-Biz: http://sanisoft.com
=

--~--~-~--~~~---~--~~
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 shared hosted environment

2007-08-04 Thread Feris Thia

On 8/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Does anyone have any lessons learned or suggestions for getting
> phpcake up and running on a shared hosted environment where you dont
> have access to the httpd.conf file?

Why you need to configure httpd.conf file ? AFAIK, .htaccess file with
mod_rewrite on is required to run cakephp. I'm running CakePHP in
shared hosting environment.

Regards,

Feris

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



cakephp on shared hosted environment

2007-08-04 Thread [EMAIL PROTECTED]

Ive searched high and low, read other posts, etc. (cant find good
forum).

Long story short, I have cake running locally fine, but on my shared
hosting environment Im getting 500 internal server errors.

I do NOT have access to my httpd.conf file (since its shared), so I
cannot find it, let alone modify it.

Does anyone have any lessons learned or suggestions for getting
phpcake up and running on a shared hosted environment where you dont
have access to the httpd.conf file?

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?hl=en
-~--~~~~--~~--~--~---