On 14-abr-09, at 12:07, [email protected] wrote:
> On Mon, Nov 24, 2008 at 5:53 PM, Alvaro Lopez Ortega
> <[email protected]> wrote:
>> On 24-nov-08, at 22:21, Mario César wrote:
>>
>>> So, I need dokuwiki, I set php under the /wiki rule, using the  
>>> fastcgi
>>> beheavior. It works well http://www.solmujeres.org/wiki/doku.php ...
>>>
>>> The problem is that the index.html, or index.php or anything else I
>>> put on the Basic/Directory Indexes option of the virtual host Don't
>>> work.
>>>
>>> Is this normal, it is expected? If the users goes /wiki or /wiki/
>>> cherokee doesn't look for the index.php
>>
>> You have to change the rule (Directory /wiki) to use "List & Send".  
>> That's
>> the handler implementing the index file management.
>>
>> (It looks that we ought to improve documentation in that regard)..
>
> I understand,
>
> What would be the best way to solve that /wiki returns to /wiki/ 
> index.php?
>
> I can't use two rules for the same directory, so I can use the
> redirection behavior.
>
> As I say before, I try to create a rule ^/wiki, to handle the
> redirection behavior for ^$ and ^/$ to redirect to /wiki/index.php,
> but don't work also.
>
> Besides always use /wiki/index.php, How can I solve this on cherokee?

You have to ensure that index.php is the Directory Indexes for the  
virtual server. Then, you'll have to set a rule for that directory to  
use "List & Send". That will do the trick.

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

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

Reply via email to