cakephp auto-append “/webroot” problem

I thought I was stupid to make cakephp append “/webroot” when rendering urls using HTML helper.

When I searched for a solution, I came to this site and learned that this is a common problem in cakephp.

4 Responses so far »

  1. 1

    Software utilities » CakePHP and paths said,

    October 31, 2007 @ 2:31 pm

    [...] had a problem related to CakePHP and url. I found some articles, such as this or this, but I still can’t find a solution. I try to access a file in the app/webroot directory, but [...]

  2. 2

    Software utilities said,

    October 31, 2007 @ 2:33 pm

    Hi!
    I have a similar problem, described in this post, could you please help me?

  3. 3

    filchiprogrammer said,

    November 21, 2007 @ 6:46 am

    @Software utilities

    sorry , I was not able to get your message because it was flagged as spam. I just de-spammed it when I checked my akismet spams.

  4. 4

    phpcurious said,

    January 22, 2008 @ 4:48 am

    there was a situation that I encountered before, where, ‘/webroot’ is being added at the end of url when calling $html->url(/) .

    I went to the CakePHP manual and realized that I misconfigured my httpd.conf of my cakephp web app; Your web app’s config in httpd.conf must point to its webroot directory.

Comment RSS · TrackBack URI

Say your words