<div dir="ltr">FYI - The discussion has been moved to the CDash mailing list.<div>See <a href="http://public.kitware.com/pipermail/cdash/2013-March/001274.html">http://public.kitware.com/pipermail/cdash/2013-March/001274.html</a></div>

<div style>Jc</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 4, 2013 at 1:03 PM, Martin Baute <span dir="ltr">&lt;<a href="mailto:solar@rootdirectory.de" target="_blank">solar@rootdirectory.de</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi there,<br>
<br>
I&#39;m trying to get the CMake / CTest / CDash trinity going. Unfortunately<br>
my webserver doesn&#39;t like what CTest is asking for:<br>
<br>
$ make Experimental<br>
...<br>
Submit files (using http)<br>
   Using HTTP submit method<br>
   Drop site:<a href="http://example.com/submit.php?project=MyProject" target="_blank">http://example.com/<u></u>submit.php?project=MyProject</a><br>
   Submit failed, waiting 5 seconds...<br>
...<br>
   Error when uploading file: /home/solar/project/Testing/<u></u>20130304-1755/Build.xml<br>
   Error message was: The requested URL returned error: 403<br>
   Problems when submitting via HTTP<br>
Errors while running CTest<br>
make[3]: *** [CMakeFiles/Experimental] Error 64<br>
make[2]: *** [CMakeFiles/Experimental.dir/<u></u>all] Error 2<br>
make[1]: *** [CMakeFiles/Experimental.dir/<u></u>rule] Error 2<br>
make: *** [Experimental] Error 2<br>
<br>
<br>
Checking the error_log of the webserver, I found this corresponding<br>
entry:<br>
<br>
ModSecurity: Access denied with code 403 (phase 2).<br>
Pattern match &quot;(.*)&quot; at TX:960904-PROTOCOL_VIOLATION/<u></u>MISSING_HEADER-REQUEST_<u></u>HEADERS:Content-Length.<br>
[file &quot;/etc/apache2/mod_security/<u></u>activated_rules/modsecurity_<u></u>crs_49_inbound_blocking.conf&quot;] [line &quot;26&quot;] [id &quot;981176&quot;] [msg &quot;Inbound Anomaly Score Exceeded (Total Score: 5, SQLi=, XSS=): Last Matched Message: Method is not allowed by policy&quot;] [data &quot;Last Matched Data: 960&quot;]<br>


<br>
<br>
So, it seems that the submit request by CTest doesn&#39;t carry the<br>
Content-Length header. Now, one solution would be to bugger the<br>
web hoster into relaxing his security protocols, but the other -<br>
IMHO better - one would be to *provide* the Content-Length.<br>
<br>
Or am I doing something wrong here?<br>
<br>
I&#39;m also asking myself if I&#39;m missing something crucial in the<br>
setup, but is it correct that anyone is free to submit test data<br>
to my CDash? Because I don&#39;t see any kind of authentication going<br>
on...?!?<br>
<br>
Regards,<br>
--<br>
Martin Baute<br>
<a href="mailto:solar@rootdirectory.de" target="_blank">solar@rootdirectory.de</a><br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/<u></u>CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/<u></u>listinfo/cmake</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>+1 919 869 8849<br>
</div>