ASF Bugzilla – Attachment 22517 Details for
Bug 45103
apachectl should do config test before reload/restart, according to documentation, but it doesn't
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixes behaviour of apachectl to run configtest before starting server, as per doc
apachectl-configtest-fix-r691326.patch (text/plain), 644 bytes, created by
Matthew Hodgson
on 2008-09-02 11:53:34 UTC
(
hide
)
Description:
Fixes behaviour of apachectl to run configtest before starting server, as per doc
Filename:
MIME Type:
Creator:
Matthew Hodgson
Created:
2008-09-02 11:53:34 UTC
Size:
644 bytes
patch
obsolete
>Index: httpd-trunk/support/apachectl.in >=================================================================== >--- httpd-trunk/support/apachectl.in (revision 691326) >+++ httpd-trunk/support/apachectl.in (working copy) >@@ -78,6 +78,18 @@ > > case $ACMD in > start|stop|restart|graceful|graceful-stop) >+ case $ACMD in >+ start|graceful|restart) >+ CONFIGTEST=`$HTTPD -t 2>&1` >+ ERROR=$? >+ if [ $ERROR -ne 0 ]; then >+ echo "$0 $ARGV: configuration broken, ignoring (re)start:" >+ echo $CONFIGTEST >+ exit $ERROR >+ fi >+ ;; >+ esac >+ > $HTTPD -k $ARGV > ERROR=$? > ;;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 45103
:
22517
|
22518