On Thu, 24 Jun 1999, Ralf S. Engelschall wrote:

> On Wed, Jun 23, 1999, [EMAIL PROTECTED] wrote:
> 
> > Full_Name: Francis J. Lacoste
> > Version: 2.3.5
> > OS: Linux 2.2.6ac1 (Custom RH6)
> > Submission from: bourdieu.insu.com (206.167.33.254)
> > 
> > When apache is compiled with EAPI support and use the MM library,
> > it is now impossible to start httpd as a non root user because 
> > the path to the EAPI_MM_CORE_PATH is not runtime configurable. It
> > is a compile time only option, and if the path specified at compile
> > time is root writable only, no user can start an httpd process without
> > recompiling.
> 
> Not quite correct. It's a path relative to the server root. So when you start
> Apache under a user which hasn't access to the compiled-in server root you
> have to start it with "httpd -d /other/serverroot/" and then the paths become
> /other/serverroot/logs/mm.*". I would like when the path can be configured
> with a directive, doubt me. But it cannot be done. Because the shared memory
> pools have to be available _before_ directives are parsed (to allow modules to
> store the directive information already into shared memory). That's why I
> wasn't able and will not be able to implement a "SharedMemoryPath /path/to/mm"
> directive. Sorry, it's a chicken and egg problem which cannot be solved better
> IMHO than with "httpd -d".

But please, could you atleast follow the runtimedir from the layout setup.
I just got hit by this problem too when trying to make a Debian binary
package. Now I manually have to patch it to change the default logs/mm 
dir which is hardcoded in the source.


Best Regards

Daniel Ryde, System Administrator
__________________________________________________________________________
Tripnet AB                Visit Address:      Telephone:  +46 31 7252500
Box 5071                  Avagen 42           Facsimile:  +46 31 7252501
S-402 22 GOTEBORG         GOTEBORG            Email:      [EMAIL PROTECTED]
Sweden                    Sweden


______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to