Hey guys,
Cake newbie here so I would very much appreciate it if you could help
me out with my problem. just got a few questions. I'm running cake on
a shared hosting site and I was just wondering if I can host another
cake application on top of a working cake app.
My portfolio is already working fine and I have set it up at the root
directory
/
/app
/cake
index.php
.htaccess
Now I am trying to setup another totally seperate cake application
that i could access through subdomains... what I do now is that I put
the subdirectory inside the webroot folder.
/
/app
/webroot
/secondapp
/app
/cake
/index.php
.htaccess
/cake
index.php
.htaccess
The front page works fine, well, not really since the css and images
dont show up. The data is being displayed though, so thats a start. I
do encounter problems when trying to access the views of the
application. so basically the only working page is the index page of
the main controller. Whenever I try to access a link from the
subdomain like
http://secondapp.domain.net/customers
I get "Not Found" The requested URL /apply was not found on this
server.
I tried fiddling around with the .htaccess from the root folder of the
2nd application (no experience on htaccess btw) and my current setup
of:
RewriteEngine on
RewriteRule ^app/webroot/secondapp$ app/webroot/secondapp/app/
webroot/ [L]
RewriteRule ^app/webroot/secondapp/(.*)$ app/webroot/secondapp/app/
webroot/$1 [L]
I am assuming that the htaccess checks the folder setup from the root
of my server... is that correct? Anyways, everything is just so
confusing. Godaddy is not helping as well since they are so
restrictive. I still have about 3 cake applications to install on top
of my root cake application so any help would greatly be appreciated.
Thanks alot,
Chogi
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---