As a test I deactivated mod_security and using system() works fine. Thanks PM,<br><br><br>Luis<br><br><div><span class="gmail_quote">On 5/6/07, <b class="gmail_sendername">Luis</b> &lt;<a href="mailto:luis.apiolaza@gmail.com">
luis.apiolaza@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I tested using system(etc) in normal text and it produces the same error. I guess that Patrick is right, and it is all about an overzealous mod_security. Thanks for the reply,
<br><br><br>Luis<div><span class="e" id="q_1125fd0ef9273b8c_1"><br><br><div><span class="gmail_quote">
On 5/6/07, <b class="gmail_sendername">Patrick R. Michaud</b> &lt;<a href="mailto:pmichaud@pobox.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">pmichaud@pobox.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

On Sat, May 05, 2007 at 08:39:43PM +1200, Luis wrote:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;(:source lang=SAS:)[@<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;data _null_;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;call system(&#39;c:\simproj\analysis.bat&#39;);<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;run;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;@]<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;when saving the page I get the error message &quot;&quot;The server is temporarily
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;unable to service your request due to maintenance downtime or capacity<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;problems&quot;. I have tried several code examples, and have problems only with<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;call system.<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;Does anybody:
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;1. Know why is this happening?<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;2. have a workaround?<br><br>My guess is that your server has mod_security enabled, and<br>mod_security is disallowing the &quot;system(&quot; part of your post<br>as being a possible site attack.
<br><br>The easy way to verify this would be to simply create a post<br>that doesn&#39;t contain any sourceblock directive -- i.e., edit<br>a page and put just the text &quot;system(&quot; or &quot;system(&#39;...&#39;)&quot;.
<br>If the server still blocks the post, it&#39;s likely a mod_security<br>issue.<br><br>See <a href="http://www.pmwiki.org/wiki/PmWiki/Troubleshooting#mod_security" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.pmwiki.org/wiki/PmWiki/Troubleshooting#mod_security
</a> .<br><br>If this is indeed the problem, then you&#39;ll want to either disable<br>mod_security for your PmWiki site, or else figure out a way to<br>write the content such that it doesn&#39;t trigger mod_security.<br>

<br>In other cases I&#39;ve recommended using [=...=] as a workaround to<br>separate the &quot;system&quot; from the &quot;(&quot; ... i.e., writing &quot;[=system=](&quot;<br>or &quot;system[==](&quot;.&nbsp;&nbsp;But since this text is already inside of a [@...@]
<br>section, that&#39;s not going to work.&nbsp;&nbsp;Maybe someone else has an idea.<br><br>Anyway, that&#39;s my guess as to the problem -- please let us know<br>how it turns out!<br><br>Pm<br></blockquote></div><br><br clear="all">

<br></span></div><span class="sg">-- <br>Dr Luis A. Apiolaza<br>School of Forestry<br>University of Canterbury<br>Private Bag 4800<br>Christchurch<br>New Zealand</span><div><span class="e" id="q_1125fd0ef9273b8c_3"><br><br>
&#39;We can only see a short distance ahead, but we can<br> see plenty there that needs to be done&#39;--Alan Turing
</span></div></blockquote></div><br>