You need to add the RewriteBase to the .htaccess files in the folder
where you blog is.

Assuming that blog.mywebsite.com is set up to serve the files from
the /blog folder, you just need to make sure you have the .htaccess
files as described here: http://book.cakephp.org/view/37/Apache-and-mod_rewrite


On Feb 8, 8:17 am, thankyou <gregbo...@gmail.com> wrote:
> Hello,
> I have the .htaccess file setup so that it makes cakephp work fine at
> mywebsite.com.
> The problem is that I also want to add a blog to the website at the
> folder /blog,
> so I can make blog.mywebsite.com work.  The folder is in /blog.
>
> My .htaccess file info is below, what do I need to do to make the
> blog.mywebsite.com work?
>
> <IfModule mod_rewrite.c>
>    RewriteEngine on
>
>    RewriteCond    $1 !^favicon.ico
>    RewriteCond    $1 !^sitemap.xml
>
>    RewriteRule    ([^/]*)(.*) app/webroot/$1$2 [L]
> </IfModule>
>
> Thank you.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to