I can't offer anything directly useful to your situation (I'm trying
to wrangle my own cofig for multiple applications in separate app
folders now as well), but I found this blog entry to be a pretty
promising place to start:

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

It directly addresses the multiple domain question, which makes it a
better fit for your questions than for mine, actually.

-B


On Sep 26, 7:39 am, Anna P <[EMAIL PROTECTED]> wrote:
> Hi, I've got my first cakephp app (let's say it's underwww.first.com)
> running on server. The file structure on my server is like this:
> *ROOT
> -->app
> -->cake
> -->vendors
> - index.php
> - .htaccess
> So I've put my app in the root of my server. Now I've got second
> application and want it to be under second domain (let's saywww.second.com).
> Let's say I created another folder in the ROOT of my server called
> 'second'.
> -->second
>
> My .htacces file looks like this (it's from cakephp):
> <IfModule mod_rewrite.c>
>    RewriteEngine on
>    RewriteRule    ^$ app/webroot/    [L]
>    RewriteRule    (.*) app/webroot/$1 [L]
> </IfModule>
>
> How should I modify .htaccess (or some other file) to point my 
> domainwww.second.comon the "second" folder on my server?
> Or if I wanted to organize my files and create two folders:
> -->first (inside would be all the cakephp files of my first app laying
> underwww.first.com)
> -->second (inside would be all the cakephp files of my second app
> laying underwww.second.com)
> - .htaccess
> how should I modify .htaccess file?
> Thanks in advance:-)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to