Is there a way to keep the webroot folder at the actual root?
To explain: what should I do to achieve a folder structure like this:
app/
cake/
css/
files/
img/
js/
plugins/
vendors/
With everything working as it should.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You are doing mistake of exposing your code to public.
However if you still want to set
/project/as your webroot, place this into.htaccessfileRecommendation: You should stick to the default directory structure of CakePHP, because it’s proven secure and best practice to do most kind of applications.