Tuesday, November 4, 2008

Re: Add-on Domain w/ Cakephp

Haven't tried this, but I'm guessing something like this... ignoring
your second-domain.com in the primary site's .htaccess

rewritecond %{http_host} !^(www)?\.second-domain\.com

On Nov 4, 4:37 pm, Kyle Decot <kdec...@gmail.com> wrote:
> I have a CakePHP app installed on my primary domain/hosting account. I
> want to have an add-on domain on the same hosting plan. I have my
> folders set up as follows:
>
> /
> -- .htaccess
> -- app
> -- cake
> -- (second domain folder)
>
> The problem is that is when I go towww.second-domain.comi get an
> internal server error. I assume that this is due the the rewrite rules
> in the .htaccess file. What Do I need to add to this file in order to
> make cake not rewrite my second domain folder? 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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: