Hello everyone,
I have my app up and running and it is accessible via www.mydomain.com
In addition I would like to add a RESTful api which should be available from its own subdomain api.mydomain.com
So I thought I create a "Plugin/Api" and have all the Controllers/Actions/Authorization/Layout separated from the main app there. But I can still use the Models.
I can create a Virtual Host under Apache with the DocumentRoot /app/Plugin/Api/webroot/
How does the index.php look like then?
And is this a good idea in general? Or are there better ways?
Thanks, Tobi
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
Tuesday, December 4, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment