httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: [PATCH] allow implicit ServerRoot via apxs
Date Sat, 01 Nov 2003 20:22:58 GMT
Mike Cramer wrote:
> Currently, if your local httpd.conf doesn't contain a ServerRoot 
> directive but has relative-paths to things like DSO modules, 
> Apache::Test fails. Obviously, a ServerRoot is necessary for Apache to 
> function properly, but the ServerRoot directive is only one of several 
> ways to set it.
> Once nice trick for making a config file that will run on several 
> versions of Apache (or even different server architectures) is to make 
> all architecture-specific paths (mainly to DSO modules) relative to 
> ServerRoot, while generic, architecture-agnositic paths are absolute. 
> You then rely on the path compiled into httpd (via the "--prefix" 
> configuration option) to find your DSOs.

Mike, can you should us an example of what is picked wrong? Full paths will 
stay full paths, and relative paths will be rerouted to the new ServerRoot 
defined by Apache-Test. Is that where the failure coming from? So if you had:

LoadModule foo modules/

it won't be able to expand it to a full path to modules/ because 
ServerRoot is not set?

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

View raw message