Problem with Apache and Ubunto 18.04 LTS

Tom H tomh0665 at gmail.com
Mon Jul 27 12:11:07 UTC 2020


On Fri, Jul 17, 2020 at 4:04 PM Lentes, Bernd
<bernd.lentes at helmholtz-muenchen.de> wrote:
> ----- On Jul 16, 2020, at 10:27 PM, Tom H tomh0665 at gmail.com wrote:
>>
>> This variable's set in "/etc/apache2/envvars" and "envvars" is
>> sourced by "apachectl".
>>
>> I copied "/usr/sbin/apachectl" to "/usr/local/sbin" and edited it to
>> add an "ubu" case to run "apache2 -S" and "apachectl ubu" gave me
>> the output of "apache2 -S". So you could rename
>> "/usr/local/sbin/apachectl" to something else and edit it to run
>> "apache2 -S" exclusively, with the right preliminaries.
>
> You gave me the final hint.
> I just source /etc/apache2/envars and issue afterwards apache2 -S or apache2 -M.
> That's sufficient for me.
>
> Thanks Tom,

You're welcome.

Sorry. I was being lazy and gave you the easiest way. I'm glad that
just sourcing "envvars" is enough.




More information about the ubuntu-users mailing list