On Fri, Sep 27, 2013 at 9:16 AM, Kaspar Brand <[email protected]> wrote:
> On 26.09.2013 23:59, Trevor Perrin wrote:
>> It doesn't work with filenames relative to the Apache root. The patch
>> I submitted uses ssl_engine_config.c:ssl_cmd_check_file() to map
>> relative to absolute filenames. I'm not sure how you'd do that with
>> SSLOpenSSLConfCmd?
>
> It could probably be handled in
> ssl_engine_config.c:ssl_cmd_SSLOpenSSLConfCmd(), but this would again
> mean adding specific code for ServerInfoFile.
If we're adding specific code for ServerInfoFile, would it make more
sense just to do a separate directive?
> I think a simple "Define"
> directive which sets a global variable also does the trick, i.e.
> something like:
>
> Define SR /path/to/server/root/
> SSLOpenSSLConfCmd ServerInfoFile ${SR}relative/file/name
Hmm, are you asking the web admin to define SR? That doesn't seem
much easier then just telling them to use the absolute name:
SSLOpenSSLConfCmd ServerInfoFile /path/to/server/root/relative/file/name
Trevor