[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#343353: marked as done (Apache 1.3.x envvars support on startup)



Your message dated Wed, 16 Sep 2009 20:34:05 +0100
with message-id <1253129645.486375.2661.nullmailer@kmos.homeip.net>
and subject line Package apache has been removed from Debian
has caused the Debian Bug report #343353,
regarding Apache 1.3.x envvars support on startup
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
343353: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=343353
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apache
Version: 1.3.34
Severity: normal

Hi,

It will be very useful to implement envvars support in apache startup script, like apache2 debian packages.
For example, if i must set NLS_LANG environment variable on apache startup, I must change /etc/init.d/apache as described below:
// --------
ENV="env -i LANG=C PATH=/bin:/usr/bin:/usr/local/bin NLS_LANG=BULGARIAN_CIS.CL8MSWIN1251"
// --------

I try to set this variable in /usr/sbin/apachectl, but that way is not working because init.d script use env to start apache, not apachectl.

The best way to implement this (in my opinion) is to use /usr/sbin/apachectl to start apache in init.d script, and include following lines in /usr/sbin/apachectl :
// --------
# pick up any necessary environment variables
if test -f /etc/apache/envvars; then
  . /etc/apache/envvars
fi
// --------


                              Best Regards: Ilian Jovchev


--- End Message ---
--- Begin Message ---
Version: 1.3.34-4.1+rm

You filled the bug http://bugs.debian.org/343353 in Debian BTS
against the package apache. I'm closing it at *unstable*, but it will
remain open for older distributions.

For more information about this package's removal, read
http://bugs.debian.org/418266. That bug might give the reasons why
this package was removed and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

--
Marco Rodrigues


--- End Message ---

Reply to: