read URL straight into variables?

I want to make a page that only does 1 thing - receive values from the URL and render out the view according to this value. For example, with mod rewrite, my url would look like this

Can yii put "some" into $var1 and "thing" into $var2 instead of trying to call controller/model?

Why not just use


You could also extend CUrlManager to provide your own functionality.

All you need is a rule like the following in urlManager config:

'<var1>/<var2>' => 'site/index',