You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Manoj Kasichainula <ma...@raleigh.ibm.com> on 1998/07/21 00:37:05 UTC
Win32 modules.c: Do not edit?
We noticed that the win32 modules.c file is marked:
/* modules.c --- automatically generated by Apache
* configuration script. DO NOT HAND EDIT!!!!!
*/
Is there actually a configuration script for win32 which generates
this file, does this have to be generated under Unix, or should this
comment be removed? From my browsing, it looks like #3.
--
Manoj Kasichainula - manojk@raleigh.ibm.com
IBM - Research Triangle Park, NC
ADTI, IBM Apache Development Team
Re: Win32 modules.c: Do not edit?
Posted by "snyland@workfire.com" <sn...@workfire.com>.
Marc Slemko wrote:
> On Mon, 20 Jul 1998, snyland@workfire.com wrote:
>
> > Manoj Kasichainula wrote:
> >
> > > OK, how's this?
> > >
> > > /* modules.c --- major modules compiled into Apache for Win32.
> > > * Only insert an entry for a module if it must be compiled into
> > > * the core server.
> > > */
> > >
> >
> > This looks good to me. I know that on Win95 we are _forced_ to compile
> > the proxy module into the core because it still has that initialization
> > problem with LoadModule. The old comment in modules.c was very
>
> You mean Win95 still has that initialization problem with mod_proxy.
>
Yes. AFAIK the LoadLibraryEx call still results in error 1114
ERROR_DLL_INIT_FAILED, ie "a dynamic link library initialization routine
failed". This is only for mod_proxy, not the other modules.
> Works fine on Win98 from what I am told.
>
Whatever. We're not yet running Win98 here & more to the point, most of our
end users will not be running Win98 for quite a while yet. Win95 is still
our primary focus for client-side proxy.
> Unless the proxy module is bigger in size than other modules?
Huh?
Re: Win32 modules.c: Do not edit?
Posted by Marc Slemko <ma...@worldgate.com>.
On Mon, 20 Jul 1998, snyland@workfire.com wrote:
> Manoj Kasichainula wrote:
>
> > OK, how's this?
> >
> > /* modules.c --- major modules compiled into Apache for Win32.
> > * Only insert an entry for a module if it must be compiled into
> > * the core server.
> > */
> >
>
> This looks good to me. I know that on Win95 we are _forced_ to compile
> the proxy module into the core because it still has that initialization
> problem with LoadModule. The old comment in modules.c was very
You mean Win95 still has that initialization problem with mod_proxy.
Works fine on Win98 from what I am told.
Unless the proxy module is bigger in size than other modules?
Re: Win32 modules.c: Do not edit?
Posted by "snyland@workfire.com" <sn...@workfire.com>.
Manoj Kasichainula wrote:
> OK, how's this?
>
> /* modules.c --- major modules compiled into Apache for Win32.
> * Only insert an entry for a module if it must be compiled into
> * the core server.
> */
>
This looks good to me. I know that on Win95 we are _forced_ to compile the
proxy module into the core because it still has that initialization problem with
LoadModule. The old comment in modules.c was very misleading.
> --
> Manoj Kasichainula - manojk at io dot com - http://www.io.com/~manojk/
> "'Why do you blow on people?' I don't know." -- Benny Hinn
Re: Win32 modules.c: Do not edit?
Posted by Manoj Kasichainula <ma...@io.com>.
On Mon, Jul 20, 1998 at 04:52:23PM -0600, Marc Slemko wrote:
> Except that it is more true here because on Unix, "users" are used to the
> modules.c file having to have all modules and changing, where the standard
> way on Win32 is just to have the major ones in there, then the rest as
> DLLs. If they think they have to edit modules.c to change something, then
> they should think twice more than normal.
OK, how's this?
/* modules.c --- major modules compiled into Apache for Win32.
* Only insert an entry for a module if it must be compiled into
* the core server.
*/
--
Manoj Kasichainula - manojk at io dot com - http://www.io.com/~manojk/
"'Why do you blow on people?' I don't know." -- Benny Hinn
Re: Win32 modules.c: Do not edit?
Posted by Marc Slemko <ma...@worldgate.com>.
On Mon, 20 Jul 1998, Manoj Kasichainula wrote:
> On Mon, Jul 20, 1998 at 04:44:05PM -0600, Marc Slemko wrote:
> > AFAIK, it is generated manually and the comment is just something copied
> > from the Unix one.
> >
> > It still isn't something that users should be editing, since there is not
> > a need, but the comment is wrong.
>
> Right, but that's true of the Apache source in general. I'll fix it.
Except that it is more true here because on Unix, "users" are used to the
modules.c file having to have all modules and changing, where the standard
way on Win32 is just to have the major ones in there, then the rest as
DLLs. If they think they have to edit modules.c to change something, then
they should think twice more than normal.
Re: Win32 modules.c: Do not edit?
Posted by Manoj Kasichainula <ma...@io.com>.
On Mon, Jul 20, 1998 at 04:44:05PM -0600, Marc Slemko wrote:
> AFAIK, it is generated manually and the comment is just something copied
> from the Unix one.
>
> It still isn't something that users should be editing, since there is not
> a need, but the comment is wrong.
Right, but that's true of the Apache source in general. I'll fix it.
--
Manoj Kasichainula - manojk at io dot com - http://www.io.com/~manojk/
"People who live in glass houses should get dressed with the lights
out." - Yakko Warner
Re: Win32 modules.c: Do not edit?
Posted by Marc Slemko <ma...@worldgate.com>.
AFAIK, it is generated manually and the comment is just something copied
from the Unix one.
It still isn't something that users should be editing, since there is not
a need, but the comment is wrong.
On Mon, 20 Jul 1998, Manoj Kasichainula wrote:
> We noticed that the win32 modules.c file is marked:
>
> /* modules.c --- automatically generated by Apache
> * configuration script. DO NOT HAND EDIT!!!!!
> */
>
> Is there actually a configuration script for win32 which generates
> this file, does this have to be generated under Unix, or should this
> comment be removed? From my browsing, it looks like #3.
>
> --
> Manoj Kasichainula - manojk@raleigh.ibm.com
> IBM - Research Triangle Park, NC
> ADTI, IBM Apache Development Team
>