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: 220.127.116.11
), OR remove the line completely to allow from all.
Deny from all
Allow from 18.104.22.168
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: