Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 88338 invoked by uid 500); 20 Aug 2002 18:35:16 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 88327 invoked from network); 20 Aug 2002 18:35:15 -0000 Received: from unknown (HELO WHTE2K.mackie.com) (12.38.109.182) by daedalus.apache.org with SMTP; 20 Aug 2002 18:35:15 -0000 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C24878.2BBAB71C" Subject: RE: configuration question Date: Tue, 20 Aug 2002 14:34:08 -0400 Message-ID: <14A951E5C6C54140836A9E1ECEB5AC2D9C4248@WHTE2K.mackie.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: configuration question Thread-Index: AcJIdRSwliNYM4HTQy2F7HxSWs05SgAAbVmgAABNOLA= From: "Sean Correia" To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C24878.2BBAB71C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Why not put: '/path/to/apache/bin/apachectl &' =20 in /etc/rc.d/rc.local? =20 Cheers, Sean -----Original Message----- From: cteubner@ncw-av.com [mailto:cteubner@ncw-av.com] Sent: Tuesday, August 20, 2002 2:28 PM To: users@httpd.apache.org Subject: RE: configuration question Just as an aside - your computer probably won't bother starting Apache = the next time you reboot it. On RedHat 7.2 you can use chkconfig (in = /sbin) to make sure it does but I don't think apachectl is compatible = with it out of the box. Here's what you do: 1. edit apachectl to be compatible with chkconfig (man chkconfig will = tell you how) 2. copy apachectl into /etc/init.d 3. maybe rename apachectl to httpd just to be slick 4. /sbin/chkconfig --level 2345 httpd on Good luck. Colin Teubner -----Original Message----- From: Dan Stephens [mailto:DanielBStephens@hotmail.com] Sent: Tuesday, August 20, 2002 2:16 PM To: users@httpd.apache.org Subject: Re: configuration question It worked!=20 I did a cd into /usr/loca/apache2/bin/ and then ran './apachectl = start.' After that I did your 'ps auxww | grep httpd' and low and = behold... it works! I then made sure by doing the netstat line and bang! = that too worked. I am not quite sure that exactly the apachectl file = does, however I understand that it now is listening to port 80. I then checked my page from a workstation and hit ctrl F5 (my = workstations are running windows) to do more than your standard reftesh = and I got the apache webserver page instead of the "connection refused" = page that i was getting. I am still not sure why the apache page is = coming up and not my REAL webpage. Because I know that the the = index.html file is in /var/www/html which is defined as DocumentRoot in = the httpd.config file. But oh well this is a big step! Thanks a lot, = you've been such a big help! -Dan ------_=_NextPart_001_01C24878.2BBAB71C Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Why=20 not put:
'/path/to/apache/bin/apachectl=20 &'
 
in=20 /etc/rc.d/rc.local?
 
Cheers,
Sean
-----Original Message-----
From: = cteubner@ncw-av.com=20 [mailto:cteubner@ncw-av.com]
Sent: Tuesday, August 20, 2002 = 2:28=20 PM
To: users@httpd.apache.org
Subject: RE: = configuration=20 question

Just=20 as an aside - your computer probably won't bother starting Apache the = next=20 time you reboot it.  On RedHat 7.2 you can use chkconfig (in = /sbin) to=20 make sure it does but I don't think apachectl is compatible with it = out of the=20 box.  Here's what you do:
1.=20 edit apachectl to be compatible with chkconfig (man chkconfig will = tell you=20 how)
2.=20 copy apachectl into /etc/init.d
3.=20 maybe rename apachectl to httpd just to be slick
4.=20 /sbin/chkconfig --level 2345 httpd on
Good=20 luck.
Colin Teubner
-----Original Message-----
From: Dan Stephens=20 [mailto:DanielBStephens@hotmail.com]
Sent: Tuesday, August = 20,=20 2002 2:16 PM
To: users@httpd.apache.org
Subject: = Re:=20 configuration question

It worked!=20
    I did a cd into = /usr/loca/apache2/bin/=20 and then ran './apachectl start.' After that I did your 'ps auxww | = grep=20 httpd' and low and behold... it works! I then made sure by doing the = netstat=20 line and bang! that too worked. I am not quite sure that exactly the = apachectl file does, however I understand that it now is listening = to port=20 80.
    I then checked my page from a = workstation and hit ctrl F5 (my workstations are running windows) to = do more=20 than your standard reftesh and I got the apache webserver page = instead of=20 the "connection refused" page that i was getting. I am still not = sure why=20 the apache page is coming up and not my REAL webpage. Because I know = that=20 the the index.html file is in /var/www/html which is defined as = DocumentRoot=20 in the httpd.config file. But oh well this is a big step! Thanks a = lot,=20 you've been such a big help!
 =20 -Dan
------_=_NextPart_001_01C24878.2BBAB71C--