Friday, August 26, 2011

third level domain and cakephp

I have my site with cakephp ...
I created a third level domain for img
Now i want that my third level domain points to a function of my controller...
Example: test.mydomain.com to mydomain.com/test
problem is that all points to app/webroot folder..
how to solve the problem?

My htaccess contains 
 RewriteRule    ^$ app/webroot/    [L]
 RewriteRule    (.*) app/webroot/$1 [L]  

I need to mix with another directive , but I need that Cake continues to work.
Thanks



--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: