You will need to exclude the portfolio directory from being sent to your
default cake installation. Something like this might work...
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ app/webroot/ [L]
RewriteCond %{REQUEST_URI} !^/portfolio(/|$)
RewriteRule (.*) app/webroot/$1 [L]
</IfModule>
----- Original Message -----
From: "tarapage" <[email protected]>
To: <[email protected]>
Sent: Monday, June 15, 2009 1:09 PM
Subject: Any idea how to put one cakephp project in the directory structure
of another cakephp project?
>
>
> Hi
>
> I want to host multiple cakephp projects on one domain. I want to be able
> to have the following:
>
> www.julabay.com is our main website, it is a cakephp website.
> I want to be able to add the following:
>
> /portfolio/project1
> /portfolio/project2
>
> etc, and be able to access them by:
>
> www.julabay.com/portfolio/project1
>
> I want project 1 to then load up the cakephp application that is under
> project1. I hope that this makes sense. When I put a subdir in the main
> cakephp layout, of course it says:
>
>
> Not Found
>
> Error: The requested address '/portfolio/project1 was not found on this
> server.
>
>
> The reason that I want to do this is that I don't want to keep all of the
> websites that I have created, some of the domains will expire and I do not
> need to keep them live. However, I want to keep them onfile for portfolio
> reasons, and want a fully functioning cakephp site living within another.
>
> Is this possible?
>
> Thanks
>
>
> --
> View this message in context:
> http://www.nabble.com/Any-idea-how-to-put-one-cakephp-project-in-the-directory-structure-of-another-cakephp-project--tp24028258p24028258.html
> Sent from the CakePHP mailing list archive at Nabble.com.
>
>
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---