26/06/2016, 12:29
|
| | Fecha de Ingreso: febrero-2016
Mensajes: 36
Antigüedad: 8 años, 10 meses Puntos: 2 | |
Respuesta: .htaccess me redirecciona mal Si no tienes mas proyectos en el servidor, porque no configuras como raiz directamente esa carpeta? Como si trabajaras directamente con localhost/loquesea.htm
Busca en el archivo de configuración de apache (httpd.conf) y modifica la ruta del document root, tienes que tener algo asi:
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "C:\wamp\www\(Añade aqui el resto de la ruta)"
<Directory "C:\wamp\www\(Añade aqui el resto de la ruta)">
#
# 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.4/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks Includes ExecCGI
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride All
#
# Controls who can get stuff from this server.
#
Require all granted
</Directory> |