Hi Adam,
Thanks for the idea, I've never messed with the .htaccess files before. I
tried to put the change in the main directory of julabay and now I get:
Fatal error: Class 'Dispatcher' not found in
/home2/pageking/public_html/julabay/portfolio/photocardqueen/app/webroot/index.php
on line 89
Did I do this in the wrong directory? There are a few .htaccess files
sitting around, and until now I've been able to just leave them be. I
guess it is time to start learning about them :) What directory do you
think I would need to add this change to? Also, should I put my portfolio
directory under the app directory vs right from the main julabay directory,
or does this not matter as long as I have the .htacess set up properly?
Thanks in advance.
Adam Royle wrote:
>
>
> 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.
>>
>>
>> >
>>
>>
>
>
> >
>
>
--
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--tp24028258p24033669.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
-~----------~----~----~----~------~----~------~--~---