in reply to Trapping apache start stop

You didn't provide any code, so I'm guessing that you were probably thinking of something like Handling the "User Pressed Stop Button" Case.