Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

How to setup kohana's index.php with cherokee webserver?

Should i add a rule to redirect all to index.php?

These settings don't work

Rule RegExp ^.*index.php.*$
Redirect ^(.*)$ => index.php$1
share|improve this question
    
Have you tried the process suggested in the accepted answer to How to port Apache rewrite rules to cherokee? at ServerFault? –  danlefree May 17 '11 at 16:20
    
I tried gives me 413 –  admiral0 May 17 '11 at 16:40
    
it continues looping indexphp/index.php/.../index.php/actualthing –  admiral0 May 17 '11 at 16:50

1 Answer 1

up vote 0 down vote accepted

Can you try changing

Redirect ^(.*)$ => index.php$1

to be:

Redirect ^(.*)$ => /index.php?$1

You may need to play around, the addition of / and ? are intended to stop the looping. / alone may be sufficient.

You might find this answer on server fault relevant to your issue - even if cherokee and kohanna have their own syntaxes.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.