Here is a debdiff to pull in the patch from upstream. I am testing it right now and should be able to confirm that it resolves the issue shortly.
Since there was no testcase in the description, here is the testcase from the bugzilla.redhat.com bug: Steps to Reproduce: # prepare test file. echo "<html>hello</html>" > /var/www/html/index.html # add config to apache echo "AliasMatch ^/alias-test/ /var/www/html/index.html" > /etc/httpd/conf.modules.d/02-alias-test.conf # (re)start httpd systemctl restart httpd.service Actual results: # When I request short URI, the response is good as follow: [takayuki@localhost ~]$ wget -t1 -O - -S -v http://127.0.0.1/alias-test/short_uri --2014-07-16 14:04:38-- http://127.0.0.1/alias-test/short_uri Connecting to 127.0.0.1:80... connected. HTTP request sent, awaiting response... HTTP/1.1 200 OK Date: Wed, 16 Jul 2014 05:04:38 GMT Server: Apache/2.4.9 (Fedora) Last-Modified: Wed, 16 Jul 2014 04:49:10 GMT ETag: "13-4fe483eb8a9d6" Accept-Ranges: bytes Content-Length: 19 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/html; charset=UTF-8 Length: 19 [text/html] Saving to: 'STDOUT' 0% [ ] 0 --.-K/s <html>hello</html> 100%[=========================================================================================>] 19 --.-K/s in 0s 2014-07-16 14:04:38 (2.03 MB/s) - written to stdout [19/19] # When I request log URI, the connection is closed and Apache logged error as follow: [takayuki@localhost ~]$ wget -t1 -O - -S -v http://127.0.0.1/alias-test/very_looooooooooooooooooooooong_uri --2014-07-16 14:07:40-- http://127.0.0.1/alias-test/very_looooooooooooooooooooooong_uri Connecting to 127.0.0.1:80... connected. HTTP request sent, awaiting response... No data received. Giving up. [root@localhost takayuki]# tail /var/log/httpd/error_log [crit] Memory allocation failed, aborting process. [Wed Jul 16 14:03:17.231921 2014] [core:notice] [pid 21808] AH00052: child pid 21809 exit signal Aborted (6) [crit] Memory allocation failed, aborting process. [Wed Jul 16 14:03:23.239149 2014] [core:notice] [pid 21808] AH00052: child pid 21812 exit signal Aborted (6) [crit] Memory allocation failed, aborting process. [Wed Jul 16 14:07:40.487959 2014] [core:notice] [pid 21808] AH00052: child pid 21945 exit signal Aborted (6) ** Patch added: "fix_aliasmatch_long_uri.debdiff" https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1534538/+attachment/4691634/+files/fix_aliasmatch_long_uri.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1534538 Title: AliasMatch directive does not accept long URI To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1534538/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs