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