Verifique que no tenga errores de sintaxis y que todo este bien escrito respetando letras mayúsculas y minúsculas. O presione CTRL + F5 para recargar la página con todos los cambios en el código
@@CarlosAlfaroSV Por las dudas lo copie y pegue del proyecto terminado y me sigue diciendo You don't have permission to access this resource. Podría tener que ver con mi configuración de apache? intente dar permisos pero no funciono. Esta es mi conf: AllowOverride none Require all denied # # Note that from this point forward you must specifically allow # particular features to be enabled - so if something's not working as # you might expect, make sure that you have specifically enabled it # below. # # # 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 "${SRVROOT}/htdocs" # # 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 # httpd.apache.org/docs/2.4/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: # AllowOverride FileInfo AuthConfig Limit # AllowOverride None # # Controls who can get stuff from this server. # Require all denied # # DirectoryIndex: sets the file that Apache will serve if a directory # is requested. # DirectoryIndex index.html # # The following lines prevent .htaccess and .htpasswd files from being # viewed by Web clients. # Require all denied
@@CarlosAlfaroSV Creo que lo solucione activando el modo rewrite (descimentándolo) en el archivo conf/httpdconf de php y cambiando AllowOverride a All en la opcion
Reafirmando conocimientos luego de pasar por 2 proyectos como PRESTAMOS en mvc e INVENTARIO sin mvc. bacano lo del htaccess
Buenísimo el vídeo y muy muy bien explicado.
Excelente , sencillo y claro
Entendí bien
Hola no me esta funcionado el .htaccess, yo uso linux
yo copie el código q dejo el y lo pegue y me funciono. ya voy por el video 8
@@cristianayala612 uuuf ya perdi el hilo de esto...je je je!!
Por alguna razón, sigo teniendo acceso a los archivos después de agregar el .htaccess
Verifique que no tenga errores de sintaxis y que todo este bien escrito respetando letras mayúsculas y minúsculas. O presione CTRL + F5 para recargar la página con todos los cambios en el código
@@CarlosAlfaroSV Por las dudas lo copie y pegue del proyecto terminado y me sigue diciendo
You don't have permission to access this resource.
Podría tener que ver con mi configuración de apache? intente dar permisos pero no funciono. Esta es mi conf:
AllowOverride none
Require all denied
#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#
#
# 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 "${SRVROOT}/htdocs"
#
# 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
# httpd.apache.org/docs/2.4/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:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Require all denied
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
DirectoryIndex index.html
#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
Require all denied
@@CarlosAlfaroSV
Creo que lo solucione activando el modo rewrite (descimentándolo) en el archivo conf/httpdconf de php y cambiando AllowOverride a All en la opcion
proba
Options -Indexes
RewriteEngine On
RewriteRule ^([a-zA-Z0-9/ñÑ-]+)$ index.php?views=$1 [L]
@@EloyMartinGimenez