httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject latest redhat rpm of apache
Date Thu, 01 Jan 1998 03:41:26 GMT
(finally grabbed the utility from the rpm tools directory to strip the
header junk off a .rpm, modified it to make it actually work, ran it,
ungzipped, uncpioed, and looked through the latest package...



	 /* Default administrator's address */
	-#define DEFAULT_ADMIN "[no address given]"
	+#define DEFAULT_ADMIN "root@localhost"

why!?!?  why replace a valid no address with a bogus address?  (ok...
the above isn't in the most recent one anymore, now they just do:

	-ServerAdmin you@your.address
	+ServerAdmin root@localhost

which I'm not sure helps anything...


The latest Redhat 1.2 package still uses killall for log rotation:

	/var/log/httpd/access_log {
	    postrotate
		/usr/bin/killall -HUP httpd
	    endscript
	}

	/var/log/httpd/agent_log {
	    postrotate
		/usr/bin/killall -HUP httpd
	    endscript
	}

	/var/log/httpd/error_log {
	    postrotate
		/usr/bin/killall -HUP httpd
	    endscript
	}

	/var/log/httpd/referer_log {
	    postrotate
		/usr/bin/killall -HUP httpd
	    endscript
	}

Sigh.

And for their httpd.init script they do:

  stop)
        echo -n "Shutting down http: "
        killproc httpd
        echo
        rm -f /var/lock/subsys/httpd
        ;;

(no idea what killproc does...)

but restart is the silly:

  restart)
        $0 stop
        $0 start
        ;;




Mime
View raw message