My third level domain works but it currently doesnt point to controller i need, it points to root...
please help !
i post my htaccess, i changed test , but it is "corso", cause i dont want now google indexes..until it works..
What is my mistake?
Help please!
Also removing the code related with img third level, it doesnt work.
my goal is when user write test.corsilezioni . com it points to a method of controller. but instead it points to webroot of cakephp ...i need that point to controller...
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} img.corsilezioni.com
RewriteCond %{REQUEST_URI} !img/
RewriteRule ^(.*)$ /img/$1 [L]
RewriteCond %{REMOTE_HOST} test.corsilezioni.com
RewriteCond %{SCRIPT_URL} !^/corsi/corso/
RewriteRule (.*) /corsi/corso/$1 [L]
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
</IfModule>
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:
Post a Comment