## Apache 503 error patch doc ## 2/14/2002 ## Laird Bedore This is a patch for apache 1.3 source trees. It changes the 503 Service Temporarily Unavailable message, to let users know that they've crossed their daily usage quota. Pretty simple. To apply, unpack an apache tree: # tar xzf apache_1.3.23.tar.gz Then, enter the directory. # cd apache_1.3.23 Last, apply the patch (located in the parent directory): # patch -p0 < ../http_protocol_vectorstar.patch Build and compile apache as normal. If you need to make a patch like this in the future, do this stuff (from the base of the apache source tree): 1. Make a copy of the file in the source tree that you want to patch # cp src/main/http_protocol.c src/main/http_protocol.c.new 2. Edit the new file as desired. 3. Create a patch. # diff -U 2 src/main/http_protocol.c src/main/http_protocol.c.new > my.patch 4. Edit the patch file and change the destination filename from http_protocol.c.new to http_protocol.c. Save it. 5. You're done!