I've got a question about urlManager and rules.
The first rule works. On Link to pages will be like this:
But I'd like to have my URLs like this:
But if i use this rule I'll get:
exception 'CHttpException' with message 'The requested controller "web" does not exist.'
Where is my mistake?
The second rule should be ended with '/*' so that additional parameters can be appended to the path info.
Thanks for your fast answer,
is better, but don't work, too:
echo $_GET[path]; //'path'
The path is not complete.
It is ‘path’ not ‘path/to/file.html’.
Is this possible or do I have to extend CUrlManger an implement my own Version?
domain.tld/index.php/web/this/is/my/path.php => ?r=pages/show&path=this/is/my/path.php
Sometimes it the easiest way is the best.