Antonio Pérez wrote:
> On Fri, Sep 5, 2008 at 8:15 PM, Alvaro Lopez Ortega <[EMAIL PROTECTED]> wrote:
>>>> 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 
> "/".

No. That means that you would have to add a new rule whenever you create 
a new directory *within your blog directory* (or virtual server).. which 
should be certainly something very unusual.

> I think the problem here is how to get those rewrite conditions works
> on Cherokee.

That is not going to happen unless a really good reason comes up. That 
is one of those approaches that makes web servers run so slow.

I don't think that you will have to add more of three of four rules to 
configure the whole Wordpress thing, so assuming a performance penalty 
for saving a couple of rules does not really make sense to me.

Think of it in this way: You spend 15 secs adding the rule, and your 
server will run faster during the next N years. It does sound like a 
good time inversion, doesn't it?

>> Good luck!
> 
> Anyway, it's a good hack at the moment... Thanks for your help. ;)

Independently of whether we could kind of hide it behind a wizard, it is 
the way it has been designed to work. There is neither 'hacks' or 
'work-arounds' involved on this.

Keep in mind that there are alternative ways of doing things. It does 
not matter whether any other web server works in the same way or not. 
We are making independent decisions, and that is one of the reasons why 
Cherokee is currently outperforming all the rest.

-- 
Greetings, alo
http://www.alobbs.com/
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to