FilChi Weblog

cakephp auto-append “/webroot” problem

Posted on: August 3, 2007


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.

Advertisements

4 Responses to "cakephp auto-append “/webroot” problem"

[…] 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 […]

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

@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.

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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Flickr Photos

%d bloggers like this: