Re: Mod Rewrite problem
Wonderful, thank you On Feb 9, 10:31 am, Webweave wrote: > Here's a good writeup from the > bakery:http://bakery.cakephp.org/articles/view/mod-rewrite-on-godaddy-shared... > > On Feb 9, 5:53 am, thankyou wrote: > > > I'm not very familiar with modrewrite -- do I just add the text > > "RewriteBase" to the .htaccess file? > > > On Feb 9, 12:17 am, Webweave wrote: > > > > 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 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? > > > > > > > > > RewriteEngine on > > > > > RewriteCond $1 !^favicon.ico > > > > RewriteCond $1 !^sitemap.xml > > > > > RewriteRule ([^/]*)(.*) app/webroot/$1$2 [L] > > > > > > > > > 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 -~--~~~~--~~--~--~---
Re: Mod Rewrite problem
Here's a good writeup from the bakery: http://bakery.cakephp.org/articles/view/mod-rewrite-on-godaddy-shared-hosting On Feb 9, 5:53 am, thankyou wrote: > I'm not very familiar with modrewrite -- do I just add the text > "RewriteBase" to the .htaccess file? > > On Feb 9, 12:17 am, Webweave wrote: > > > 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 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? > > > > > > > RewriteEngine on > > > > RewriteCond $1 !^favicon.ico > > > RewriteCond $1 !^sitemap.xml > > > > RewriteRule ([^/]*)(.*) app/webroot/$1$2 [L] > > > > > > > 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 -~--~~~~--~~--~--~---
Re: Mod Rewrite problem
I'm not very familiar with modrewrite -- do I just add the text "RewriteBase" to the .htaccess file? On Feb 9, 12:17 am, Webweave wrote: > 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 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? > > > > > RewriteEngine on > > > RewriteCond $1 !^favicon.ico > > RewriteCond $1 !^sitemap.xml > > > RewriteRule ([^/]*)(.*) app/webroot/$1$2 [L] > > > > > 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 -~--~~~~--~~--~--~---
Re: Mod Rewrite problem
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 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? > > > RewriteEngine on > > RewriteCond $1 !^favicon.ico > RewriteCond $1 !^sitemap.xml > > RewriteRule ([^/]*)(.*) app/webroot/$1$2 [L] > > > 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 -~--~~~~--~~--~--~---
Mod Rewrite problem
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? RewriteEngine on RewriteCond$1 !^favicon.ico RewriteCond$1 !^sitemap.xml RewriteRule([^/]*)(.*) app/webroot/$1$2 [L] 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 -~--~~~~--~~--~--~---
Mod Rewrite problem
Hello, I have the .htaccess file setup so that it makes cakephp work fine. The problem is that I also want to add a blog to the website at /blog, ie blog.websitename.com. The folder is in /blog. My .htaccess file info is below, what do I need to do to make the blog.websitename.com work? RewriteEngine on RewriteCond$1 !^favicon.ico RewriteCond$1 !^sitemap.xml RewriteRule([^/]*)(.*) app/webroot/$1$2 [L] 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 -~--~~~~--~~--~--~---