On Ubuntu Linux , the IfDefine variable IfDefine set to
/etc/apache2/envvars
and is called APACHE_ARGUMENTS . So, at the bottom of this file I had to add:
export APACHE_ARGUMENTS="-D dev"
... and then bounce off the server:
/etc/init.d/apache2 stop /etc/init.d/apache2 start
In other systems:
However, there is a Debian article on this topic that discusses the following here . In this example, the editing file is / etc / default / apache2, and the variable is called APACHE_DEFINES .
Similarly, on some systems, this is a variable called OPTIONS , which is set to /etc/sysconfig/httpd .
So, you really need to find the start section in the apache2ctl file. So, start with whereis apache2ctl to find where this script is located, exit it and find the initial section with the apache2 directive in it and see if the variable that passes passes: OPTIONS , APACHE_ARGUMENTS , APACHE_DEFINES , or something else. Then see which file you need to edit by experimenting with /etc/sysconfig/httpd , /etc/default/apache2 or /etc/apache2/envvars .
Volomike Nov 22 '09 at 20:08 2009-11-22 20:08
source share