is the cake app to be installed in a subdir called cake you could put wp in a subdir of the cake app (or otherway round) but may prove to be more trouble than its worth
in the past I ahcieved this with the following I found strange things to occur [code] <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^blog/(.*)$ blog/$1 [L] RewriteRule ^$ app/webroot/ [L] RewriteRule (.*) app/webroot/$1 [L] </IfModule> [/code] others may have better suggestions but I would go with subdomains - S On 8 March 2011 22:03, lauraw <[email protected]> wrote: > 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 > [email protected] For more options, visit this group > at http://groups.google.com/group/cake-php > -- 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 [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
