Como activar o habilitar .htaccess en Apache
1. Editar el archivo /etc/apache2/sites-available/default
nano /etc/apache2/sites-available/default
AllowOverride None
AllowOverride AuthConfig
o
Options Includes
AllowOverride All
You can also rename your .htaccess file by adding the line below on you httpd.conf file
AccessFileName [filename]
-------------
we may enablemod_rewrite by editing our httpd.conf removing the comment on line from;LoadModule rewrite_module modules/mod_rewrite.so
toLoadModule rewrite_module modules/mod_rewrite.so
we need to change the AllowOverride directive also from<Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all Satisfy all </Directory>
to<Directory /> Options FollowSymLinks AllowOverride All Order deny,allow Deny from all Satisfy all </Directory>
You can also rename your .htaccess file by adding the line below on you httpd.conf fileAccessFileName [filename]
example: AccessFileName .configuration | Apache
Categorías [KB]
- Aplicaciones y frameworks 2
- Wordpress 9
- Joomla 15
- Prestashop 1
- Desarrollo web 14
- Tips & Tricks 5
- Cheats 9
- Diseño 4
- Legal 5
- Protección de datos 0
- Marketing y publicidad 1
- RRHH 1
- Redes Sociales 3
- Seo 4
- Sistemas 2
- Bases de datos 0
- Mysql 6
- Seguridad 1
- Correo 9
- Debian 4
- Plesk 4
- Redes 11
- Servidor web 5
- Apache 5
- Sistemas Operativos 1
- Linux 19
- Windows 4