Re: Make webroot index the home page
Ryan, thank you for replying! I'm pulling my hair out :-)
What I'd really like to do is have my wordpress area still within the
cake environment and so under the cake webroot area.I'd kind of like
the two to live together. The reason for trying this is to make use of
all of the WP and other plug-in functionality I'm using (users,
logging in/out, registrations, payment, etc) - making the WP index the
home page for the site. From the WP index I would have links to cake
functionality, available to a member after logging in.
So, it would go like this:
user -------> http://mydomain ------> cake/app/webroot/something
(this is the WP install)
user logs in
user chooses cake controller/action ------> http://mydomain/controller/action
------> cake does it's stuff
I've tried setting the document root to webroot/something and it does
take me to the WP index when I go to http://mydomain. But I can't
figure out how to access the cake stuff (just getting 'bad request')
from there.
Is there a way to keep the document root as cake/app/webroot, and
still within the context of cake, but somehow get cake to go to
(route?) webroot/something/index.php?
I'm open to creating 2 subdirectories (one for the wordpress piece and
another for the cake stuff) or even using a subdomain. Is that the
best way to go with this kind of situation?
Thanks!
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home