Are you asking about the x:/apache directory or the x:/apache/htdocs directory?
The following lines will restict access to only 127.0.0.1:
Deny from all
Allow from 127.0.0.1
Place these inside the <Directory x:/apache/htodcs> directive in httpd.conf to restrict the web root root. You'll need to create a <Directory> directive for x:/apache if you're looking at the server root itself. Place the above arguments in that directive. The following link will take you to the section of the Apache manual which deals with <Directory> syntax and options:
httpd.apache.org/docs/mod/core.html#directory
Hope this helps!!!
Cheers,
Geoff A. Virgo