Bug 4459 - apachectl isn't included
apachectl isn't included
Status: CLOSED NEXTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: apache (Show other bugs)
6.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Preston Brown
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-08-10 08:04 EDT by Mads Kiilerich
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-09-09 15:16:11 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Mads Kiilerich 1999-08-10 08:04:34 EDT
- even though the man-page is.

A couple of comments while mangling with the .spec:

Why is log and modules located under /etc/httpd? It would be
more RedHatStandard if the config-files was located directly
under /etc/httpd instead of in the conf subdirectory.

Why keep separate src, access and httpd config files when
apache suggests using only httpd?

Regards
Kiilerich
Comment 1 Preston Brown 1999-08-18 15:53:59 EDT
we will remove the man page.  the functionality is provided by
/etc/rc.d/init.d/httpd.  The files are layed out as they are for
historical reasons.  We could move them around a bit but it would
produce problems for long-time apache users on Red Hat. Same goes for
the config files, but we will be migrating to a unified config file in
our next release of apache, and providing empty access and srm config
files for compatibility.
Comment 2 mgrier 1999-08-31 20:27:59 EDT
I don't understand the reasoning behind this decision. If you don't
have apachectl to shut down and restart the server, don't you have to
reboot? I just want to make changes to the config files. Having to
reboot seems like overkill.

Mike
Comment 3 Mads Kiilerich 1999-09-01 04:24:59 EDT
Use
/etc/rc.d/init.d/httpd reload
or
... restart

Apachectl is just "the apache way to do it". .../httpd does the same.
[pbrown: I can not unselect "Reopen bug" just below this "additional
comments" field. Sorry]Use
/etc/rc.d/init.d/httpd reload
or
... restart

Apachectl is just "the apache way to do it". .../httpd does the same.
[pbrown: I can not unselect "Reopen bug" just below this "additional
comments" field. Sorry]
Comment 4 Preston Brown 1999-09-09 15:16:59 EDT
removed man page for next release.
Comment 5 Michael G Schwern 1999-09-28 16:22:59 EDT
Please reinstate apachectl to the apache package.

Why???

* Don't reinvent the wheel *
Wouldn't it be easier for /etc/rc.d/init.d/httpd to just call
apachectl?

* init.d/httpd doesn't do everything that apachectl does *
Things which apachectl does that /etc/rc.d/init.d/httpd does not:
	Graceful server restart (send SIGUSR1)  *This is very important*
	Configuration test				*This is also very important*
	Differenciate between status and fullstatus  *Not a big deal*

* Backwards and Cross-Distribution/Unix Compatibility *
Even if /etc/rc.d/init.d/httpd evolves to completely take over
apachectl's functionality, apachectl should still not be removed.
Many programs will expect it to be there and want to use it, programs
written for older versions of Redhat, those written for other Linux
distributions and those written for other Unixes.  For finding,
querying and controlling apache, apachectl is your most compatible
bet.


Any one of the above three are valid arguments against removing
apachectl.  Maybe you can just add a SEE ALSO to the apachectl man
page pointing users at /etc/init.d/rc.d/httpd.

Note You need to log in before you can comment on or make changes to this bug.