httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rasmus Lerdorf <ras...@raleigh.ibm.com>
Subject Re: [PATCH: apxs: allow for override of CFG_* values]
Date Wed, 07 Jul 1999 18:20:20 GMT
> | In this particular case, couldn't you just drop mod_dav into the Apache 
> | source tree and build your distribution that way?
> 
>   Yeah, I guess so, but it seems like a good thing to be able to  
> build and package up modules separately.  I realized that I still  
> have a problem if I want to activate the module in the conf file  
> using apxs, because apxs will insert my edited path instead of the  
> final path...  I'm thinking what would be nice if I could active a  
> module with apxs (-e for edit?) without having to install the binary,  
> so I can do it in parts:
> 
> 	apxs -i -S LIBEXECDIR=/tmp/module/path -n dav libdav.so
> 	apxs -e -S SYSCONFDIR=/tmp/conf/dir -A -n dav libdav.so
> 
>   And apxs can be used to enable/disable modules at any time.   
> Creeping featurism or feature?

Feature, I guess.  And if you start hacking on this, could you also fix it
so apxs -a won't add a LoadModule line for a module that is already
activated?  I end up with multiple "LoadModule php3_module lib/apache/libphp3.so"
lines when I run apxs -a a second time.

I looked at it, but the perl code that handles -a made my brain bleed.

-Rasmus


Mime
View raw message