Description of problem: Its specific problem on Windows x86_64 architecture. The same steps works fine on Windows i686. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Create rewrite.conf in conf.d directory like this (there is a tabulator signbefore test): <Directory "C:\Program Files\jboss-ews-2.0\var\www\html\rhts> RewriteEngine On RewriteRule ^path(.*) "http://127.0.0.1/ test/" </Directory> RewriteLog logs/rewrite_log RewriteLogLevel 8 2. create directory C:\Program Files\jboss-ews-2.0\var\www\html\rhts 3. start httpd 4. access url in browser: http://localhost/rhts/path 5. you will see "Connection was reset" and in apache error_log you see: [notice] Parent: child process exited with status 255 -- Restarting. 3. Actual results: Expected results: Additional info:
It is <Directory "C:\Program Files\jboss-ews-2.0\var\www\html\rhts">
Created attachment 781540 [details] Apache logs - debug mode
Created attachment 781578 [details] Httpd backtrace from Win 2008R2 x86_64 attached.
Created attachment 781580 [details] rewrite.conf
Created attachment 781602 [details] error_log core modules
OK, so the problem disappears if you put RewriteLogLevel 0 (no rewrite logging) So this means that the error is either inside mod_rewrite logging or inside apr's apr_vprintf function that crashes. Since its only on 32-bit I presume that either some casting (size_t presumed 4 bytes, etc) is wrong or there is a but inside APR. I'll check both APR and mod_rewrite for changes between our version and confirmed working version (2.2.25) which has different APR version
Please verify the build: http://download.devel.redhat.com/brewroot/packages/jboss-ews-httpd/2.0.1/9.win6/win/jboss-ews-httpd-2.0.1-9.win6.x86_64.zip Seems this was a known bug with APR (ASF's PR 49155) so the patch already existed in the APR's SVN.
there should also be built win6.x86_64 application servers zip file because it inculdes apr dlls
Correct. I'll also rebuild tomcat-native because it has apr as compile time dependency. Cannot tell for sure if the pointer size macros are used anywhere but better be safe then sorry.
Here is the fixed build for application-servers http://download.devel.redhat.com/brewroot/packages/jboss-ews-application-servers/2.0.1/12.win6/win/jboss-ews-application-servers-2.0.1-12.win6.x86_64.zip I also rebuild sources with latest patches added http://download.devel.redhat.com/brewroot/packages/jboss-ews/2.0.1/13.win6/win/jboss-ews-2.0.1-13.win6.src.zip
VERIFIED on Windows 2008 x86_64 and Windows 2008 R2 x86_64 No regression found.