I have a Yii application installed as a php webapp in Now I want to split the application into two separate applications, a front-end app and a back-end admin area as described in The directory structure of the Yii project site. Without needing to read that document, basically will have an index.php in each app that serves as the entry point for that application. So the frontend would be served at How can I set this up in webfaction (in terms of configuring websites, apps, and domains)? asked 24 Sep '12, 16:15 user |
Use a 'symbolic link' type application and point the 'extra info' to the admin directory(using the file-system path), than bind that to admin.example.com. answered 24 Sep '12, 18:24 johns So would I also create a symbolic link application to ~/webapps/example/frontend and bind it to www.example.com?
(04 Oct '12, 16:44)
user
Yes, you can certainly do that for the front-end also. Then again, if your application by default will serve the front-end on the application you already have then you may not need a 3rd app for the front-end.
(04 Oct '12, 18:22)
waynek
@waynek: currently my app serves from ~/webapps/myapp. However I'd like to serve it from ~/webapps/myapp/frontend instead. Logically my site only has two applications but it's sounding like I'll need three to pull it off (one "regular" app, and two symbolic link apps). Is creating a symbolic link app the only way to do this or is there another way?
(05 Oct '12, 01:51)
user
If your app can't be configured to server from the frontend sub-directory then yes, a symbolic link app is the way to go.
(05 Oct '12, 02:08)
waynek
|