Lo que pasa es que Apache protege los directorios po IP, en este caso de cualquier IP que no sea 127.0.0.1 (localhost)
Tenes que editar el archivo de configuracion de apache (
httpd.conf) cambiado las dos lineas que te pongo a continuacion:
<Directory "WEBDIR">#Donde WEBDIR es tu directorio de publicacion de Apache
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride all
#
# Controls who can get stuff from this server.
#
# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
Bueno, en realidad la primer linea no la tenes que bambiar, la dejas como este..pero es para hacerte una referencia donde esta el trozo de codigo a editar en
httpd.conf. Lo que tenes que hacer es en la linea que dice
Deny from all cambiarlo por
Allow for allTen en cuenta que lo que estas haciendo es permir navegantes desde cualquier IP entren a tu hostlocal.
Saludos