Added @APACHE_PID_PATH@ and @APACHE_BINARY@ for tok replacement and fixe...

...d typo HOSNAME to HOSTNAME.