httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Cramer <cra...@webkist.com>
Subject Re: [PATCH] allow implicit ServerRoot via apxs
Date Tue, 04 Nov 2003 16:10:24 GMT
Geoffrey Young wrote:
> +        if ($base = $self->{inherit_config}->{ServerRoot}) {
> +            debug "using inherited ServerRoot $base to resolve $file";
> +        }
> +        elsif ($base = $self->apxs('PREFIX')) {
> +            warning "using apxs-derived ServerRoot $base to resolve $file";
> +        }
> +        elsif (file_name_is_absolute($file)) {
> +            debug "$file is already absolute";
> +            return $file
> +        }
> +        else {
> +            error "unable to resolve $file - please specify a ",
> +                  'ServerRoot in your httpd.conf or use apxs';
> +            die '';
> +        }
>      }
>  
>      rel2abs $file, $base;

Shouldn't the "file_name_is_absolute" case be first?

-- 
Mike Cramer
http://www.webkist.com/ | AIM: MikeWebkist


Mime
View raw message