I am looking for answer in yii.I want to create subdomain in yii.I want to do url rewrite like this.This should be applied to only one controller not every.
from
http://abcd.com/directory-1/directory-2/CotrollerName/FunctionName/Argument1/
to
http://Argument1.abcd.com/directory-1/directory-2/CotrollerName/FunctionName/
Thanks in advance !!!
A tricky solution will look like: