Yes, it is part of the disable and enable mod_rewrite.  I have a
script to rename all .htaccess and edit core.php to uncomment or
comment that line.

One other thing I note is on sourceforge it use mmcache where there is
nothing in Cake configuration to set for it.

Now that I figure out the docroot and put everything back to the
original setting and now I got the blank page just like I started a
few weeks ago with Cake 1.2alpha when turn off mod_rewrite and when
turn mod_rewirte on then I got that error that I posted.

So, to sum it up!
In Cake 1.2alpha:
. Mod_rewirte off: I will get a blank page
. Mod_rewrite on:  I will get this:
/home/groups/c/co/coaddons/htdocs/home/groups/c/co/coaddons/htdocs/
caketest/app/webroot/pages/hello

In Cake 1.1
. Mod_rewrite off:  It works!
. Mod_rewirte on: I will get this:
/home/groups/c/co/coaddons/htdocs/home/groups/c/co/coaddons/htdocs/
cake/app/webroot/pages/hello

PS: I think may be the mmcache is causing me lot of headache here!

Thanks

On Jun 29, 7:40 am, "chanh.ong" <[EMAIL PROTECTED]> wrote:
> I found something very interesting!
>
> In Cake 1.1 if I turn off mod_rewrite Cake 1.1 works but I will get
> the same problem like Cake 1.2alpha when I turn on mod_rewrite.
>
> So, the real problem here is when the mod_rewrite in turn on the path
> got double up in both version of Cake 1.1 and 1.2 like this:
>  /home/groups/c/co/coaddons/htdocs/home/groups/c/co/coaddons/htdocs/
> cake/app/webroot/pages/hello
>
> Here is the url:http://coaddons.sourceforge.net/cake/pages/hello
>
> An error has been encountered in accessing this page.
>
> 1. Server: coaddons.sourceforge.net
> 2. URL path: /home/groups/c/co/coaddons/htdocs/cake/app/webroot/pages/
> hello
> 3. Error notes: File does not exist: /home/groups/c/co/coaddons/htdocs/
> home/groups/c/co/coaddons/htdocs/cake/app/webroot/pages/hello
> 4. Error type: 404
> 5. Request method: GET
> 6. Request query string:
> 7. Time: 2007-06-29 07:36:23 PDT (1183127783)
>
> On Jun 29, 7:29 am, "chanh.ong" <[EMAIL PROTECTED]> wrote:
>
> > Look like I found the different between why cake 1.2 work on one site
> > but does not work on sourceforge.net is the
> > DOCUMENT_ROOT   /var/www
> > where my docroot is: /home/groups/c/co/coaddons/htdocs/
>
> > On my other host that Cake 1.2 work fine where DOCUMENT_ROOT match my
> > docroot.
>
> > On interesting thing to note is Cake 1.1 work fine on sourceforge.net
> > but not Cake 1.2alpha so there might be a change on how the
> > "DOCUMENT_ROOT" are parse in Cake 1.2alpha???
>
> > On Jun 29, 7:17 am, "chanh.ong" <[EMAIL PROTECTED]> wrote:
>
> > > Well, you know I did start out really simple by stick with just the
> > > stock install but all I got was a blank page and put a thread here and
> > > irc if any could help but nada.  After wait for a few days or perhaps
> > > a weeks then that is when I starting to look around and digging.
>
> > > I test it on several machine and server with cake with different
> > > version and I do one thing at a time.  What you see are just the
> > > result of all the times that I already spend digging, researching,
> > > etc.
>
> > > I provide support to people and most people just put a little line say
> > > they have problem and not detail and that is very tough to help them
> > > so that is why I tend to provide as much detail as possible so that
> > > people will see what I see.  If the information is not what you are
> > > looking for you can easily scroll through them with the wheel mouse
> > > now a day!
>
> > > It is better to provide as much information as possible so that people
> > > don't have to post several email just to dig for more information.
>
> > > I already spend enormous amount of time trying to solve it myself but
> > > in the end I post here in hoping someone will offer some help!
>
> > > Do you have a specific suggestion on how to solve the problem?
>
> > > Thanks
>
> > > On Jun 29, 7:03 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
>
> > > > On 6/29/07, chanh.ong <[EMAIL PROTECTED]> wrote:
>
> > > > > I thought the bin.cakephp.org is just a temporary space.  Is it not?
>
> > > > Nope, you can save pastes there to share with everyone.
>
> > > > > Please pardon my ignorant, I don't know what is the problem in the
> > > > > first place if I do I would not spinning my wheel in the last few
> > > > > weeks.
>
> > > > It's a signal-to-noise problem (if you're familiar with that term).
> > > > The more information you blast out over the list, the more likely it
> > > > is that the true problem gets missed.  You are spending a lot of time
> > > > chasing things that aren't the problem.  Stick with stock
> > > > configurations and layouts and then start changing the things that
> > > > have been shown to alter application behaviour.  I understand that
> > > > you're trying to figure things out, but we're not your beta testers or
> > > > your tech support.
>
> > > > I've said it before and I will say it again:  many, MANY people have
> > > > been able to get CakePHP working in their environments without having
> > > > to hack anything at all beyond setting the contants in
> > > > webroot/index.php.  I'm just having problems understanding why you are
> > > > running into so many problems, and the sheer volume of information
> > > > you're spitting out doesn't make it any easier for me personally to
> > > > figure out what the problem might be.  Slow down, change one thing at
> > > > a time and make sure that you are actually doing it properly instead
> > > > of going off into 7 different directions at once.
>
> > > > Don't take it the wrong way, it's just the way I tend to attack
> > > > problems.  I send out information as a last resort because pride and
> > > > ego tend to get in the way.
>
> > > > --
> > > > Chris Hartjes
> > > > Senior Developer
> > > > Cake Development Corporation
>
> > > > My motto for 2007:  "Just build it, damnit!"
>
> > > > @TheBallpark -http://www.littlehart.net/attheballpark
> > > > @TheKeyboard -http://www.littlehart.net/atthekeyboard


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