On 04/06/2010, at 13:55, frantishrek wrote:

>> That configuration would be translated as:
>> 
>>  - Extension PHP: Handler fcgi, non-final
>>  - File Exists: Handler file, final
>>  - Default: Handler redir, Regex: /(.*)$  Substitution: /index.php?p=/$1
> 
> Thanks for your answer.
> But it seems not working.
> 
> URL : http://microblog.domain.net/user/all works (so redirection is ok)
> but URL : http://microblog.domain.net/user/all?page=2 does not works
> 
> I think, I had to intercept ?page=2 to redirect to /index.php?p=/$1&page=2

You'll need two regular expressions then. I guess something like this would 
work:

Regex: /(*.)\?(.*)$  Substitution: /index.php?p=/$1&$2
Regex: /(*.)$        Substitution: /index.php?p=/$1

--
Octality
http://www.octality.com/

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to