Jędrzej, You are correct.
If you have multiple virtual servers Cherokee processes inbound requests in order from top to bottom looking for a match. If no match is found then the default rule steps in and you get whatever default is setup to do. -Paul 2009/9/4 Jędrzej Nowak <[email protected]>: > Hey. > > Default rule means. "If none of above 'match' handle it with Default". > > In your example all requests are passed to "Default" rule, where you > have "nothing" except "CGI", no "rewrite", no redirect etc. Just a > "static match". So any url was handled by Default rule ;-) That's all. > > //Am I wrong, guys ? > > Pozdrawiam > Jędrzej Nowak > > > > 2009/9/4 Juan José Amor <[email protected]>: >> >> Hello!! >> >> I'm setting up a Moinmoin wiki (at root of a virtual server) with >> Cherokee 0.99.22. >> >> If I put the CGI handler in the Default rule, that is: >> >> Handler: CGI >> Script alias: /var/www/moin-cgi/cgi-bin/moin.cgi >> >> the wiki can be loaded at root page of my virtual server (that is, an >> URL like http://foobar.somesite.com/ ). >> >> But when I try to go to another wiki page, it does not work, since it >> always shows the main wiki page. For example, >> http://foorbar.somesite.com/NewPage shows again the main wiki page. >> >> Ok, after looking a lot of conf variables and not seeing anything >> (including the CGI variables passed to moin.cgi), I have tried to change >> the Default rule to do nothing, and then create a new rule equivalent to >> Default: >> >> type Regular Expression: with regex (.*) >> Handler: CGI >> Script alias: /var/www/moin-cgi/cgi-bin/moin.cgi >> >> and this works perfectly! >> >> Anybody can explain this? Or is this a bug? >> >> Sorry if this is trivial. I'm very new with Cherokee and I'd like to >> understand this ;-) >> >> Thanks in advance! >> >> Best regards, >> >> -- >> >> Juan Jose Amor Iglesias // -+- ¡Vorágine! -+- >> jjamor -at- gmail.com // juanjo -at- dramor.net >> >> -------------------- Visit my Blog! --------------------- >> The Boring Stories Written By DrAmor: http://dramor.net/blog/ >> --------------------------------------------------------------- >> _______________________________________________ >> Cherokee mailing list >> [email protected] >> http://lists.octality.com/listinfo/cherokee >> > _______________________________________________ > Cherokee mailing list > [email protected] > http://lists.octality.com/listinfo/cherokee > _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
