I have installled my Cakephp based website on my production site like following way
var/html/
app/
cake/
.htaccess etc
Its working perfectly untill I installed Blog. To make it work, I moved my content of blog folder to webroot, now my structure is
var/html/
app/
webroot/
blog/
cake/
.htaccess etc
This works thanks to those .htacess files
Now I am making a subdomain "m
"
ie http://www.m.example.com
My questions are...
- Am I doing it right way?
- Should I just move every subdomain etc to webroot?
Should I modify htaccess to acheive followwing structure
var/html/ app/ webroot/ cake/ .htaccess blog/ m/ subdomain/