Home > Archive > alt.os.linux > August 2002 > Need Help With Apache





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Need Help With Apache
Mark Magpayo

2002-08-13, 6:23 pm

I'm trying to run httpd using a different httpd.conf than the default one,
and i keep getting an error saying that 'LoadModule' is an invalid
command... any ideas?? Thanks.

-Mark


DanH

2002-08-13, 7:23 pm

Mark Magpayo wrote:

> I'm trying to run httpd using a different httpd.conf than the default one,
> and i keep getting an error saying that 'LoadModule' is an invalid
> command... any ideas?? Thanks.


Cut and paste your startup command and the error message. That'll help


DanH
--
UNIX - Not just for Vestal Virgins anymore
Linux - Choice of a GNU generation

Ron Wills

2002-08-13, 11:23 pm

You can use the command line option:

httpd -c /path/config_file

But to have it do it from the start up scripts (eg. from
/etc/init.d/httpd), you have to hunt down where is starts the httpd
daemon and add the above command line option.

I hope this helps ya out

Mark Magpayo wrote:
> I'm trying to run httpd using a different httpd.conf than the default one,
> and i keep getting an error saying that 'LoadModule' is an invalid
> command... any ideas?? Thanks.
>
> -Mark
>
>



--
Ron Wills
RW Software - Owner
http://rwsoft.homeip.net

Ron Wills

2002-08-13, 11:23 pm

You can use the command line option:

httpd -c /path/config_file

But to have it do it from the start up scripts (eg. from
/etc/init.d/httpd), you have to hunt down where is starts the httpd
daemon and add the above command line option.

I hope this helps ya out

Mark Magpayo wrote:
> I'm trying to run httpd using a different httpd.conf than the default one,
> and i keep getting an error saying that 'LoadModule' is an invalid
> command... any ideas?? Thanks.
>
> -Mark
>
>



--
Ron Wills
RW Software - Owner
http://rwsoft.homeip.net

Ron Wills

2002-08-13, 11:23 pm

You can use the command line option:

httpd -c /path/config_file

But to have it do it from the start up scripts (eg. from
/etc/init.d/httpd), you have to hunt down where is starts the httpd
daemon and add the above command line option.

I hope this helps ya out

Mark Magpayo wrote:
> I'm trying to run httpd using a different httpd.conf than the default one,
> and i keep getting an error saying that 'LoadModule' is an invalid
> command... any ideas?? Thanks.
>
> -Mark
>
>



--
Ron Wills
RW Software - Owner
http://rwsoft.homeip.net

Semih Hazar

2002-08-14, 8:23 am

> You can use the command line option:
>
> httpd -c /path/config_file



-c is for setting a *directive*,
to specify another configuration file you need to use -f.


Semih



Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net