Hi, I've got my first cakephp app (let's say it's under www.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 say www.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 domain
www.second.com on 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
under www.first.com)
-->second (inside would be all the cakephp files of my second app
laying under www.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