Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Bug#349709: Support for custom arguments

From: Chris Adams <chris(at)improbable.org>
Date: Fri Aug 10 2007 - 14:51:42 EDT


I recently ran into this problem and made a very similar patch to change the $HTTPD calls for start & configtest to include $APACHE_ARGUMENTS (if it exists) so we can add a few needed defines in /etc/apache2/envvars (e.g. -DTEST_SITE vs. -DPRODUCTION_SITE so we can share a common Apache config file for our development and production servers).

  • a2old 2007-08-10 11:48:39.946307000 -0700 +++ /usr/sbin/apache2ctl 2007-08-10 11:48:09.000000000 -0700 @@ -77,7 +77,7 @@ case $ARGV in start|stop|restart|graceful|graceful-stop) - $HTTPD -k $ARGV + $HTTPD ${APACHE_ARGUMENTS:=} -k $ARGV ERROR=$?
    ;;
    startssl|sslstart|start-SSL) @@ -87,7 +87,7 @@ ERROR=2
    ;;
    configtest) - $HTTPD -t + $HTTPD ${APACHE_ARGUMENTS:=} -t ERROR=$?
    ;;
    status)

-- 
To UNSUBSCRIBE, email to debian-apache-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  • application/pkcs7-signature attachment: smime.p7s
Received on Fri Aug 10 14:59:45 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 07:57:07 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library