/[Apache-SVN]/httpd/httpd/trunk/support/apachectl.in
ViewVC logotype

Log of /httpd/httpd/trunk/support/apachectl.in

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 767994 - (view) (annotate) - [select for diffs]
Modified Thu Apr 23 17:45:41 2009 UTC (7 months ago) by covener
File length: 3417 byte(s)
Diff to previous 505739 (colored)
Pass the $@ array and not the flattened version of it in non-SysV mode:

$ bash -x bin/apachectl -t -c "foo bar"
before: +bin/httpd -t -c foo bar
after:  +bin/httpd -t -c 'foo bar'


Revision 505739 - (view) (annotate) - [select for diffs]
Modified Sat Feb 10 18:41:22 2007 UTC (2 years, 9 months ago) by wrowe
File length: 3418 byte(s)
Diff to previous 420990 (colored)
Simple patch to permit syntax such as...

  bin/apachectl start -X

or similar, based on evaluating only the first arg as an apxs 'command',
and permitting additional args in httpd-style syntax.

Revision 420990 - (view) (annotate) - [select for diffs]
Modified Tue Jul 11 20:55:32 2006 UTC (3 years, 4 months ago) by fielding
File length: 3408 byte(s)
Diff to previous 395229 (colored)
update license header text

Revision 395229 - (view) (annotate) - [select for diffs]
Modified Wed Apr 19 12:23:42 2006 UTC (3 years, 7 months ago) by colm
File length: 3261 byte(s)
Diff to previous 240273 (colored)
Update the last year of copyright.

Revision 240273 - (view) (annotate) - [select for diffs]
Modified Fri Aug 26 16:12:28 2005 UTC (4 years, 3 months ago) by colm
File length: 3261 byte(s)
Diff to previous 160696 (colored)
Allow apachectl to support "graceful-stop" argument


Revision 160696 - (view) (annotate) - [select for diffs]
Modified Sat Apr 9 16:59:15 2005 UTC (4 years, 7 months ago) by slive
File length: 3247 byte(s)
Diff to previous 151408 (colored)
Merged the simple-conf branch changes r159781:160695 into the trunk.

Revision 151408 - (view) (annotate) - [select for diffs]
Modified Fri Feb 4 20:28:49 2005 UTC (4 years, 9 months ago) by jerenkrantz
File length: 3106 byte(s)
Diff to previous 106103 (colored)
Update copyright year to 2005 and standardize on current copyright owner line.

Revision 106103 - (view) (annotate) - [select for diffs]
Modified Sun Nov 21 18:50:36 2004 UTC (5 years ago) by nd
File length: 3071 byte(s)
Diff to previous 104701 (colored)
general property cleanup

Revision 104701 - (view) (annotate) - [select for diffs]
Modified Wed Aug 18 11:21:33 2004 UTC (5 years, 3 months ago) by trawick
File length: 3071 byte(s)
Diff to previous 102619 (colored)
apachectl: Fix a problem finding envvars if sbindir != bindir.

PR:            30723
Submitted by:  Friedrich Haubensak <hsk imb-jena.de>
Reviewed by:   Jeff Trawick

Revision 102619 - (view) (annotate) - [select for diffs]
Modified Mon Feb 9 20:40:53 2004 UTC (5 years, 9 months ago) by nd
File length: 3069 byte(s)
Diff to previous 102525 (colored)
fix name of The Apache Software Foundation

Revision 102525 - (view) (annotate) - [select for diffs]
Modified Fri Feb 6 22:58:42 2004 UTC (5 years, 9 months ago) by nd
File length: 3065 byte(s)
Diff to previous 102135 (colored)
apply Apache License, Version 2.0

Revision 102135 - (view) (annotate) - [select for diffs]
Modified Thu Jan 1 13:26:26 2004 UTC (5 years, 10 months ago) by nd
File length: 5338 byte(s)
Diff to previous 98674 (colored)
update license to 2004.

Revision 98674 - (view) (annotate) - [select for diffs]
Modified Sat Feb 15 17:51:44 2003 UTC (6 years, 9 months ago) by jerenkrantz
File length: 5338 byte(s)
Diff to previous 98573 (colored)
Allow apachectl to perform status with links and elinks as well if lynx is
not available.

Revision 98573 - (view) (annotate) - [select for diffs]
Modified Mon Feb 3 17:53:28 2003 UTC (6 years, 9 months ago) by nd
File length: 5331 byte(s)
Diff to previous 96081 (colored)
finished that boring job:
update license to 2003.

Happy New Year! ;-))

Revision 96081 - (view) (annotate) - [select for diffs]
Modified Tue Jul 16 18:03:34 2002 UTC (7 years, 4 months ago) by brianp
File length: 5331 byte(s)
Diff to previous 96071 (colored)
Revert the change in the previous commit, which broke the
setting of @APACHECTL_ULIMIT@ during configuration

Revision 96071 - (view) (annotate) - [select for diffs]
Modified Tue Jul 16 08:30:41 2002 UTC (7 years, 4 months ago) by martin
File length: 5313 byte(s)
Diff to previous 96069 (colored)
If "@APACHECTL_ULIMIT@" is used in apachectl.in, then something must
replace it by a sensible (platform dependent?) value upon "make install".
Until that is done, $ULIMIT_MAX_FILES is set to the empty string
so that apachectl does not cause a subsequent error
  @APACHECTL_ULIMIT@: not found

Revision 96069 - (view) (annotate) - [select for diffs]
Modified Tue Jul 16 06:12:12 2002 UTC (7 years, 4 months ago) by aaron
File length: 5331 byte(s)
Diff to previous 96053 (colored)
Improve the comments on the fd limits.

Revision 96053 - (view) (annotate) - [select for diffs]
Modified Sun Jul 14 23:18:45 2002 UTC (7 years, 4 months ago) by brianp
File length: 5082 byte(s)
Diff to previous 95307 (colored)
Increase the per-process file descriptor limit in apachectl
for the benefit of people running multithreaded MPMs or lots
of vhosts

Revision 95307 - (view) (annotate) - [select for diffs]
Modified Mon May 27 11:46:01 2002 UTC (7 years, 6 months ago) by trawick
File length: 4915 byte(s)
Diff to previous 94653 (colored)
simplified apachectl...

. it now uses "httpd -k verb" support for start/restart/etc.
. it now can pass through any httpd option, so apachectl
  can be used as a replacement for invoking httpd directly
  (this practice ensures that any necessary environment
  variables are set up)

Revision 94653 - (view) (annotate) - [select for diffs]
Modified Mon Apr 15 00:41:25 2002 UTC (7 years, 7 months ago) by jerenkrantz
File length: 7804 byte(s)
Diff to previous 94431 (colored)
Properly substitute sbindir as httpd's location in apachectl.

We install $(PROGRAMS) into $(sbindir) not $(bindir), so this is correct.

PR: 7840
Submitted by:	Andreas Hasenack <andreas@netbank.com.br>
Reviewed by:	Justin Erenkrantz

Revision 94431 - (view) (annotate) - [select for diffs]
Modified Thu Apr 4 09:15:44 2002 UTC (7 years, 7 months ago) by striker
File length: 7803 byte(s)
Diff to previous 93918 (colored)
Remove hardcoded paths from MPMs and move them to a more central
place.  Expand paths in httpd-std.conf in a similar fashion as we do
in our headers.

Submitted by:	Pier Fumagalli <pier@betaversion.org>

Revision 93918 - (view) (annotate) - [select for diffs]
Modified Wed Mar 13 20:48:07 2002 UTC (7 years, 8 months ago) by fielding
File length: 7800 byte(s)
Diff to previous 92490 (colored)
Update our copyright for this year.

Revision 92490 - (view) (annotate) - [select for diffs]
Modified Sat Dec 15 13:56:36 2001 UTC (7 years, 11 months ago) by trawick
File length: 7800 byte(s)
Diff to previous 92299 (colored)
Move any load library path environment variables out of
apachectl and into a separate environment variable file which
can be more easily tailored by the admin.  The environment
variable file as built by Apache may have additional system-
specific settings.  For example, on OS/390 we tailor the heap
settings to allow lots of threads.

Revision 92299 - (view) (annotate) - [select for diffs]
Modified Mon Dec 3 18:00:04 2001 UTC (7 years, 11 months ago) by gregames
File length: 7849 byte(s)
Diff to previous 91788 (colored)
get binbuild working when apr, apr-util, and expat are built shared in
directories that are not well known to the loader.

How it works:
* libtool figures out the name of this system's library path environment
  variable (i.e. LD_LIBRARY_PATH, LIBPATH, DYLD_LIBRARY_PATH) at apr
  configure time (existing code)
* save this variable name in SHLIBPATH_VAR in APRVARS
* substitute this name when apachectl is created
* uncomment the lines containing this variable during binbuild
* install_bindist.sh updates the path to lib/ when the binary is
  installed (existing code)

not done yet, but a good idea:
* create a file or directory containing all environment variable settings
  for apachectl.  Others env vars need to be tweaked, at least on AIX and
  OS/390, so keeping them separate should reduce headaches long term.

Revision 91788 - (view) (annotate) - [select for diffs]
Modified Wed Nov 7 19:19:05 2001 UTC (8 years ago) by jwoolley
File length: 7683 byte(s)
Diff to previous 91409 (colored)
Allow apachectl to support mod_ssl's <IfDefine SSL> tags which the
group decided to keep.

Obtained from:	mod_ssl 2.x by RSE
Submitted by:	Madhu Mathihalli

Revision 91409 - (view) (annotate) - [select for diffs]
Modified Wed Oct 10 21:17:05 2001 UTC (8 years, 1 month ago) by rbb
File length: 7277 byte(s)
Diff to previous 91102 (colored)
Make the error messages from apachectl refer to the actual name of the
executable, not "httpd".

Revision 91102 - (view) (annotate) - [select for diffs]
Modified Fri Sep 21 14:57:43 2001 UTC (8 years, 2 months ago) by jerenkrantz
File length: 7167 byte(s)
Diff to previous 91076 (colored)
kill -l requires the short version of the signal (without SIG prefix).
(apachectl graceful was broken.)

The best way to do this is to change configure to internally represent
the signal without the SIG prefix and prepend SIG before substitution
(and export a version without the SIG prefix for apachectl).

This highlights why we want to move apachectl's core functionality into
httpd.

Revision 91076 - (view) (annotate) - [select for diffs]
Modified Tue Sep 18 22:13:59 2001 UTC (8 years, 2 months ago) by jerenkrantz
File length: 7161 byte(s)
Diff to previous 89061 (colored)
Switch back to SIGUSR1 for graceful restarts on all platforms that
support it.  This defines a symbol called AP_SIG_GRACEFUL in
ap_config_auto.h which will have the appropriate signal value.  All
direct references to SIGWINCH have been replaced with AP_SIG_GRACEFUL.

On Linux 2.0, use SIGWINCH instead since SIGUSR1 is used by glibc
2.0's user-space threading library to control threads.  All later
versions of Linux/glibc don't have this problem.  (Not to mention the
security holes in older Linux versions which make it unsuitable for
use as a web server.)  If your platform doesn't have SIGUSR1, use the
appropriate mojo in configure to define what your graceful restart
signal should be.

In theory, a configure switch could be added to allow the admin to
specify the appropriate signal that should be used.  This is left
as an exercise to the reader for now.

The docs need to be updated.  Since the signal is now configurable,
just saying SIGUSR1 for graceful restart isn't completely true.  Also,
the apachectl functionality needs to be moved into httpd - this is
what Win32 does and it makes us consistent across platforms.

Roy issued a veto against use of SIGWINCH by default, so this should
resolve that veto.

Revision 89061 - (view) (annotate) - [select for diffs]
Modified Wed May 9 15:56:50 2001 UTC (8 years, 6 months ago) by rbb
File length: 7140 byte(s)
Diff to previous 88184 (colored)
Fix apachectl so that it uses the configure program name.
Submitted by:	Daniel Lopez <daniel@rawbyte.com>

Revision 88184 - (view) (annotate) - [select for diffs]
Modified Fri Feb 16 04:26:53 2001 UTC (8 years, 9 months ago) by fielding
File length: 7135 byte(s)
Diff to previous 86436 (colored)
Update copyright to 2001

Revision 86436 - (view) (annotate) - [select for diffs]
Added Sat Oct 7 19:54:23 2000 UTC (9 years, 1 month ago) by rbb
File length: 7125 byte(s)
Use autoconf to substitute the proper values into apachectl, and install
it when we install everything else.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2