
codesite-noreply at google
Jan 27, 2010, 3:11 AM
Post #19 of 33
(1484 views)
Permalink
|
|
Re: Issue 571 in cherokee: RFE: Deny download of configurable filetypes when cgi/fcgi or server config is broken
[In reply to]
|
|
Comment #18 on issue 571 by alobbs: RFE: Deny download of configurable filetypes when cgi/fcgi or server config is broken http://code.google.com/p/cherokee/issues/detail?id=571 I have to admit I'm kind of lost at this point. Either I'm missing something important (the whole point, actually) or this bug report does not still make any sense. Let's see. Cherokee does whatever you tell it to do. Nothing more, nothing less. If you command it to send files by default, that's what it will do. It doesn't know what it's sending, just because it isn't of its business. If you don't what it to send some files, just "tell" it so. That will be enough. (It isn't psychic, you know). For instance: if for some reason, your server isn't configured to execute PHP, but it has .php file within the document root[1] and you don't want people to download them, it'd enough if you added a "Extension PHP, Handler: Custom Error" rule at the top of your Behavior rule list. 1.- You'd better take those outta there BTW. So, please, allow me to clarify things a little bit: 1.- Cherokee will never be shipped with hardcoded rules. That's plain wrong, and as a matter of fact, that is not gonna happen. 2.- When a rule is matched, it's applied. The server does not continue the rule evaluation if it fails. The server will to whatever you configure it to do. @dziastinux, if you still think that there's a bug.. please, post your configuration file and I'll check it for you. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings _______________________________________________ Cherokee-dev mailing list Cherokee-dev [at] lists http://lists.octality.com/listinfo/cherokee-dev
|