cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: Making reloadability more fine-grained
Date Mon, 05 May 2003 17:32:03 GMT
Jeff Turner wrote:

>Hi,
>
>'allow-reload' was switched off during some file upload changes:
>
>http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=104946515805696&w=2
>
>I gather this was for security reasons, as its not good to allow random
>users to restart Cocoon with ?cocoon-reload=yes
>
>However this also removes the auto-reloading of cocoon.xconf, something I
>find very handy.
>
>
>So how about decoupling those two means of triggering a reload.  Instead
>of a single 'allow-reload' flag, have one for cocoon.xconf, and another
>for the cocoon-reload request parameter:
>  
>

<allow-reload-ip>127.0.0.1</allow-reload-ip> will also achieve the same 
and more. i.e., changes to file will get noticed and unauthorized users 
won't be able to reload, AND you will still be able to reload manually 
if you wish.

Vadim



Mime
View raw message