Yii Framework Forum: Yii Bolierplate Question - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Yii Bolierplate Question Rate Topic: -----

#1 User is offline   gforcesbarry 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 11-December 12

Posted 14 December 2012 - 11:30 AM

Reading through the documentation about the file / folder structure it looks like for a backend and front end structure you would need 2 URL's in apache pointing to the relevant /www folders.

EG:

www.site.com -> /frontent/www

admin.site.com -> /backend/www

Our current websites are currently set up as follows:

www.site.com = frontend

www.site.com/edit = backend

Is there a preferred way to get aound this:

Our possible solutions so far are:

send apache to point to / then add a .htaccess to run the relevant file based on the URL.

As you can imagine this is will not be ideal as it will expose files.

Create symbolic link within /frontend/www called edit to point to /backend/www

Then include .htaccess file to deal with the routing

Thanks
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users