On Thursday 13 September 2001 01:55 pm, Brad Nicholes wrote:

I really dislike this.  Netware included a hack in 1.3 to use the argv from cwd.
There are much cleaner ways to do this in 2.0.  Which MPM are you using?
Why not just create a Netware specific module that has a rewrite_args
function that sets ap_server_root to the correct argv?

This is what Windows does, and it does work.  This is also what Bill has been
trying to explain to you.  Please look at server/mpm/winnt/mpm_winnt.c, for the
function  winnt_rewrite_args.  You need to have your own MPM to make this
work currently, but it would be a simple thing to make standard modules have
access to the re-write args hook.

Ryan

>    I would like to propose the following code changes for main.c.  These
> changes will allow a platform to use a relative server root that is based
> on argv[0] rather than a hard coded server root.  If these changes seem
> fair, I would like to check them in.
>
> thanks,
> Brad

-- 

______________________________________________________________
Ryan Bloom                              [EMAIL PROTECTED]
Covalent Technologies                   [EMAIL PROTECTED]
--------------------------------------------------------------

Reply via email to