Friday, October 1, 2010

Re: Using multiple domains on one app to create four seperate sites

Jacob,

I found the following (especially the first two) to be very helpful.

http://www.ad7six.com/MiBlog/ProductionSetup
http://www.ad7six.com/MiBlog/ProductionSetupRevisited

http://groups.google.com/group/cake-php/browse_thread/thread/94625f2803546def/31a623769c72ab66?rnum=1&_done=%2Fgroup%2Fcake-php%2Fbrowse_frm%2Fthread%2F94625f2803546def%2F3396b4b08ffb98ee%3F#doc_31a623769c72ab66

http://groups.google.com/group/cake-php/browse_thread/thread/ce26b750e3b12a33/81af819755e5b013?lnk=gst&q=%22Multiple+applications%22#81af819755e5b013

DaveT.

On Oct 1, 8:26 am, Jacob <jacobsteri...@gmail.com> wrote:
> Hello all,
>
> I am working on a website for a company, which needs five different
> websites. The five websites use the same database and mostly the same
> records. For site specific records there is a 'company' column in the
> table. With a parameter a function will know what records to get.
>
> The current setup exists of one app on the webroot en 4 others in a
> sub directory. This was the easiest way to solve the problem, but it
> has a down site. As the development is in a final stage, the
> controllers and views are modified a lot. For every change the other
> four apps need to be changed also.
>
> My question is:
> Is there a way to create the illusion of five different websites while
> it is actually one app? For example, based on the domainname used, the
> layout changes? (that would be the best solution I think) But is it
> possible en how should this be done?
>
> Best regards,
>
> Jacob

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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: