<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www\.)?domain.com$
RewriteRule ^$ app/webroot/ [L]
RewriteCond %{HTTP_HOST} ^(www\.)?domain.com$
RewriteRule (.*) app/webroot/$1 [L]
</IfModule>
it will work...............if you need further help contact me via naresh.vil@gmail.com
On Thursday, August 23, 2012 12:34:15 AM UTC+5:30, Ogalav wrote:
I am creating a subdomain chat.sitio.com--
but I do not understand why the error occurs internarl
I've been checking the htaccess and it seems I have to put in
the. htaccess directory the sigueinte chat lines to choose not
by rewrite
<IfModule mod_rewrite.c>
RewriteEngine off
</ IfModule>
but still not working ..
someone could guide me if I have to put a line in the
htaccess in the site root cake
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^ $ app / webroot / [L]
RewriteRule (. *) App / webroot / $ 1 [L]
</ IfModule>
I hope I can help
thanks
regards
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment