Tema: servidor
Ver Mensaje Individual
  #5 (permalink)  
Antiguo 01/08/2009, 09:19
juanreyo03
 
Fecha de Ingreso: agosto-2008
Mensajes: 147
Antigüedad: 15 años, 9 meses
Puntos: 1
Respuesta: servidor

Cita:
Para acceder desde localhost seguramente tendrás que agregar un virtualhost a la configuración de apache.

Respecto a lo de que no se te abre el index.php tendrás que agregar estas líneas al archivo de configuración de apache:

directoryindex index.php index.html index.htm
Donde esta el archivo de configuracion ?

Cita:
Con respecto a lo de localhost me parece un poco extraño.
En c:\windows\system32\drivers\etc\ hay un archivo llamado hosts
Abrelo con el bloc de notas, y verifica que esté escrito
127.0.0.1 localhost
Si no lo está, ponlo.
Ya estaba puesto. Esto es lo que me sale:

Código:
# Copyright (c) 1993-2006 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

127.0.0.1       localhost
::1             localhost
Lo de los archivos que borre, son importantes ? O era una web de ejemplo?