If you're running apache 2.x with custombuild, then it's already in the file:
Change the "Allow from" lines to include your IP (eg: 18.104.22.168
), OR remove the line completely to allow from all.
Deny from all
Allow from 22.214.171.124
Change the /server-status to something hard-to
guess if you use the 2nd method, since we don't want just anyone viewing
Also change uncomment the #ExtendedStatus by removing the # character: