I’ve been reading through URL part of guide, but since urlManager and beautifying URLs is one of my worst parts of Yii I was not able to find a solution to a problem that I have.
Is this possible in Yii to use URLs without route and view and only with GET params part in it?
In more details: My client wants to have a module on his website as similar as possible to RapidShare (for internal, private use only of course, I don’t think he’s planning another site like this! ). To solve it I need Yii to accept URLs like that:
where rs (or files or anything else) is a name of module or extension, nnnn is a unique number or hash and ffff is a filename, just like in Rapidshare, for example:
It finally can route to any controller and view. I only need to be able to process it. For example to FileController.php and get view in rs module, so actual route would be:
And to be honest, I have no damn idea how to achieve it?