Re: Is it interesting to add some filepath checks to apachectl -t ?

2019-01-14 Thread Stéphane Blondon
Le lun. 14 janv. 2019 à 18:33, William A Rowe Jr a écrit : > > There should not be a 'warn' level emit for a non-existent directory. Unlike > the > DocumentRoot or Alias, which are searched, blocks describe > protection. It's entirely reasonable to protect paths which aren't physically > on > t

Re: Is it interesting to add some filepath checks to apachectl -t ?

2019-01-14 Thread William A Rowe Jr
There should not be a 'warn' level emit for a non-existent directory. Unlike the DocumentRoot or Alias, which are searched, blocks describe protection. It's entirely reasonable to protect paths which aren't physically on the system at the current moment or in the current deployment. Something at t

Re: Is it interesting to add some filepath checks to apachectl -t ?

2019-01-13 Thread Stéphane Blondon
Hello, sorry for the huge delay :/ >>> On 03/07/2018 22:57, Stéphane Blondon wrote: Hello, `apachectl -t` checks the configuration files. The documentation explains it's not complete. It seems paths (for DocumentRoot for example) or the write access for log directory

Re: Is it interesting to add some filepath checks to apachectl -t ?

2018-09-02 Thread Daniel Ferradal
but httpd is invoked from it and already checks if document root exists and if does not it does not start, and log directory is always writable unless selinux is involved because those are written with root. So I am not sure what is the gain here. El dom., 2 sept. 2018 13:41, Yann Ylavic escribió

Re: Is it interesting to add some filepath checks to apachectl -t ?

2018-09-02 Thread Yann Ylavic
Hi Stéphane, sorry for the delay. > > On 03/07/2018 22:57, Stéphane Blondon wrote: > > Hello, > > > > `apachectl -t` checks the configuration files. The documentation > > explains it's not complete. > > It seems paths (for DocumentRoot for example) or the write access for > > log directory are no

Re: Is it interesting to add some filepath checks to apachectl -t ?

2018-09-02 Thread Stéphane Blondon
Hello, sorry to come back but I get no replies so I don't know if it has been ignored because considered as not good or you were too busy with the last release. Regards, Stéphane On 03/07/2018 22:57, Stéphane Blondon wrote: > Hello, > > `apachectl -t` checks the configuration files. The docume

Is it interesting to add some filepath checks to apachectl -t ?

2018-07-03 Thread Stéphane Blondon
Hello, `apachectl -t` checks the configuration files. The documentation explains it's not complete. It seems paths (for DocumentRoot for example) or the write access for log directory are not checked. (tested with apache v.2.4.25.) Are you interested by such a feature? If I understand the code pr