0

my question is very simple.

I have a /cms subdirectory on my /public_html directory.

when I try to do: mysite.com/cms cake tries to find cms controller instead of showing the index.php that /cms contains.

How can I make cake to search this folder in the public_html?

Thanks.

content01
  • 3,115
  • 6
  • 41
  • 61

1 Answers1

0

Is this a folder that belongs to your app or is it an external one? This problem is most likely because your public_html folder is your cake root folder (or at least you have the .htaccess for routing there)

You may want to have your cake app on a subfolder instead of having it on the root of youe webserver

If the content belongs to yout app, you can put The cms folder on the wwwroot folder of your application or follow this tip and move all from cms to Pages folder

pollirrata
  • 5,188
  • 2
  • 32
  • 50
  • the thing is I already put a /blog folder in my public_html. This /blog contains a wordpress instance and it works perfect when I type mysite.com.blog . Shouldn't it work with this new subfolder? – content01 Jun 29 '12 at 16:19
  • oh, and is a external folder...! – content01 Jun 29 '12 at 17:05