components/apache2/patches/apachectl.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Mon, 08 Oct 2012 07:58:20 -0700
changeset 1008 85cbcf3980ca
parent 278 77b380ba9d84
permissions -rw-r--r--
7202142 Upgrade Apache Web Server to version 2.2.23 7164140 ErrorDocument can not handle 400 status properly in case of HTTP 1.1 7198847 Problem with utility/apache

--- support/apachectl.in.orig	Tue Jul 11 20:38:44 2006
+++ support/apachectl.in	Tue Feb 12 02:24:17 2008
@@ -75,6 +75,12 @@
     ARGV="-h"
 fi
 
+if [ ! -d "@exp_runtimedir@" ]; then
+    mkdir -p @exp_runtimedir@
+    chown -R webservd @exp_runtimedir@
+    chgrp -R webservd @exp_runtimedir@
+fi
+
 case $ARGV in
 start|stop|restart|graceful|graceful-stop)
     $HTTPD -k $ARGV