Yii Framework Forum: How To Configure Forum In A Backend/ Frontend Configuration As Suggested By This Article ? - Yii Framework Forum

Jump to content

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

How To Configure Forum In A Backend/ Frontend Configuration As Suggested By This Article ? Rate Topic: -----

#1 User is offline   sakui 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 10
  • Joined: 01-August 11

Posted 18 November 2012 - 02:11 PM

I am on the way to implement fontend /backend and wonder how to include a forum without using separate sub-domain for forum . just like this forum is accessible e.g http://www.yiiframework.com/forum/

I have following main directories :

htdocs/myapp/frontend
htdocs/myapp/backend
htdocs/myapp/common
htdocs/myapp/forum

My desire is to access forum from each sudomain e.g

example.com/forum
fontend.example.com/forum
backend.example.com/forum ( might not need for backend but for other sub domains we need it )
myname.example.com/forum


Is is possible to redirect frontend.example.com/forum to htdocs/myapp/forum with .htaccess ?
(htdocs/myapp/frontend/www/.htaccess obviously )

How you will do this ? I mean what is the better way , sub domain or sub-directory with .htaccess ( if possible)

(Note : forum is not visible e.g example.com/forum as htdocs/myapp directory is NOT Document root )
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