Hi :)
   the problem on these rules, as antonio says, is that wordpress  
creates file irks dinamically. I'm not sure about worspress but that  
happened to me with wordpress mu.

     I think that some rewrite rules could be only translates if we  
get those kind of conditionals: "-f" it's not a file, and "-d" it's  
not a directory . Other way could be putting the static files as first  
rules and leting it fallback on the rewrite when the file doesn't exist.


Miguel Ángel

El 05/09/2008, a las 20:22, "Antonio Pérez" <[EMAIL PROTECTED]>  
escribió:

> On Fri, Sep 5, 2008 at 8:15 PM, Alvaro Lopez Ortega  
> <[EMAIL PROTECTED]> wrote:
>
>>> I need it too :) I still have it on my pending tasks ':)
>>
>> Guys, I'm pretty sure you are gonna love the new 'wizards' feature  
>> shipped
>> with the upcoming Cherokee 0.9 :-)
>
> I hope!, I hope!... :D
>
>>>> I'm trying to use my custom permalinks in Wordpress and I need to
>>>> "emulate" this behaviour in Cherokee.
>>
>> This is something you can configure with the "Behavior" section of  
>> your
>> Virtual Server.
>>
>> It first look, I'd say that something like this could be enough:
>>
>> - Extension    php         "FastCGI"
>> - Directory    /images     "Static content"
>> - Directory    /bla, bla   "Static content"
>> - Directory    /lalala     "Static content"
>> - Default      ^.+$        "Redirection"    (to /index.php?$1)
>
> Ufff!
>
> But this need to add rules every time I create a new directory, or  
> file in "/".
>
> I think the problem here is how to get those rewrite conditions works
> on Cherokee.
>
>> Good luck!
>
> Anyway, it's a good hack at the moment... Thanks for your help. ;)
>
>
> -- 
> Saludos:
> Antonio Pérez
>
> ATENCIÓN: Antes de imprimir este mensaje valora si verdaderamente es 
>  necesario.
> De esta forma contribuimos a la preservación del Medio Ambiente.
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to