.htaccess is a web server directive file populalrly used in Apache Web Server in Linux / Unix environment. . htaccess es un servidor web populalrly directiva archivo utilizados en Apache Web Server en Linux / Unix medio ambiente. In windows environment there is a simple way to enable and use .htaccess. En el ambiente de ventanas hay una manera sencilla de activar y utilizar. Htaccess. Additionally it allows you to create nice permalinks for software like WordPress or phpBB. Además, le permite crear permalinks agradable para el software como WordPress o phpBB.

To use .htaccess you need to enable mod_rewrite. Para utilizar. Htaccess necesita activar mod_rewrite. Even with that I didn’t have much success when I separately installed apache web server and php. A pesar de que no tuve mucho éxito cuando he instalado por separado servidor web apache y php. However if you install XAMPP it is a piece of cake. Sin embargo, si instala XAMPP es un pedazo de pastel.

XAMPP automatically installs Apache web server, MySQL database, PHP and a lot of other goodies. XAMPP instala automáticamente el servidor web Apache, base de datos MySQL, PHP y muchos otros objetos valiosos. It does not however come with mod_rewrite enabled. Sin embargo, no vienen con mod_rewrite activado. Let us assume you installed XAMPP in %XAMPP% directory. Vamos a asumir que acaba de instalar en XAMPP XAMPP%% directorio. Then you should open %XAMPP%\apache\conf\httpd.conf in notepad and search for mod_rewrite. Entonces usted debe abrir% XAMPP% \ apache \ conf \ httpd.conf en el Bloc de notas y búsqueda de mod_rewrite. You will find a line like: Usted encontrará una línea como:
#LoadModule rewrite_module modules/mod_rewrite.so # LoadModule rewrite_module modules / mod_rewrite.so
Remove the # from the beginning. Eliminar el # desde el principio. It will now look: Se procederá ahora a ver:
LoadModule rewrite_module modules/mod_rewrite.so LoadModule rewrite_module modules / mod_rewrite.so

Restart the Apache web server through XAMPP control panel. Reinicie el servidor web Apache a través de XAMPP panel de control. You are done! Usted está hecho!