I am using yaourt to automatically compile Apache from source every time there’s an update available from extra. I am doing this so that I can have a custom suexec docroot (/srv/www rather than the default /srv/http). This has worked flawlessly for several updates, until now.
$ yaourt -S apache
==> Building apache from sources.
==> Retrieving PKGBUILD and local sources...
receiving file list ... done
./
PKGBUILD
apache.conf.d
apache.install
apache.tmpfiles.conf
apachectl-confd.patch
arch.layout
httpd
httpd.logrotate
pcre_info.patch
sent 199 bytes received 10416 bytes 7076.67 bytes/sec
total size is 9809 speedup is 0.92
=> removes/replaces '--with-suexec-docroot=\/srv\/http' by '--with-suexec-docroot=\/srv\/www' in global
--- ./PKGBUILD 2012-07-06 00:02:13.000000000 -0400
+++ ./PKGBUILD.custom 2012-07-06 15:49:03.000000000 -0400
@@ -102,7 +102,7 @@
--enable-so \
--enable-suexec \
--with-suexec-caller=http \
- --with-suexec-docroot=/srv/http \
+ --with-suexec-docroot=/srv/www \
--with-suexec-logfile=/var/log/httpd/suexec.log \
--with-suexec-bin=/usr/sbin/suexec \
--with-suexec-uidmin=99 --with-suexec-gidmin=99 \
==> Edit PKGBUILD ? [y/N] ("A" to abort)
==> ------------------------------------
==> n
==> apache dependencies:
- openssl (already installed)
- zlib (already installed)
- apr-util (already installed)
- pcre (already installed)
==> Edit apache.install ? [y/N] ("A" to abort)
==> ------------------------------------------
==> n
==> Continue building apache ? [Y/n]
==> --------------------------------
==>
==> Building and installing package
==> Making package: apache 2.2.22-4 (Thu Jul 5 14:47:33 EDT 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading httpd-2.2.22.tar.bz2...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5252k 100 5252k 0 0 93231 0 0:00:57 0:00:57 --:--:-- 93283
-> Downloading httpd-2.2.22.tar.bz2.asc...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 835 100 835 0 0 5191 0 --:--:-- --:--:-- --:--:-- 10437
-> Downloading 02-rename-prefork-to-itk.patch...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:01:06 --:--:-- 0curl: (7) couldn't connect to host
==> ERROR: Failure while downloading 02-rename-prefork-to-itk.patch
Aborting...
==> ERROR: Makepkg was unable to build apache.
==> Restart building apache ? [y/N]
==> -------------------------------
==>
The problem seems to be that curl can’t find 02-rename-prefork-to-itk.patch. I don’t know what URL that’s located at, in what file it’s specified, or how I might find an alternate location for it. Any idea what is going on/how to troubleshoot?

Bad request. The link you followed is incorrect or outdated.. – Bryan Dunsmore Jul 5 '12 at 19:27