.htaccess is a web server directive file populalrly used in Apache Web Server in Linux / Unix environment. . htaccess é um arquivo populalrly directiva servidor web Apache Web Server utilizado no no Linux / Unix ambiente. In windows environment there is a simple way to enable and use .htaccess. Nas janelas do ambiente há uma maneira simples de permitir e de utilização. Htaccess. Additionally it allows you to create nice permalinks for software like WordPress or phpBB. Além disso, ele permite que você crie nice permalinks de software como o WordPress ou phpBB.

To use .htaccess you need to enable mod_rewrite. Para utilizar. Htaccess que você precisa para ativar o mod_rewrite. Even with that I didn’t have much success when I separately installed apache web server and php. Mesmo com que eu não tenho muito sucesso quando eu separadamente instalado o servidor web Apache e PHP. However if you install XAMPP it is a piece of cake. No entanto, se você instalar XAMPP é um pedaço de bolo.

XAMPP automatically installs Apache web server, MySQL database, PHP and a lot of other goodies. XAMPP instala automaticamente o servidor web Apache, banco de dados MySQL, PHP e um monte de outros goodies. It does not however come with mod_rewrite enabled. No entanto, não vêm com o mod_rewrite habilitado. Let us assume you installed XAMPP in %XAMPP% directory. Vamos supor que você instalou no XAMPP% XAMPP% diretório. Then you should open %XAMPP%\apache\conf\httpd.conf in notepad and search for mod_rewrite. Então você deve abrir% XAMPP% \ apache \ conf \ httpd.conf no bloco de notas e pesquisa para o mod_rewrite. You will find a line like: Você vai encontrar uma linha como:
#LoadModule rewrite_module modules/mod_rewrite.so # LoadModule rewrite_module modules / mod_rewrite.so
Remove the # from the beginning. # Retire a partir do início. It will now look: Ele irá agora analisar:
LoadModule rewrite_module modules/mod_rewrite.so LoadModule rewrite_module modules / mod_rewrite.so

Restart the Apache web server through XAMPP control panel. Reinicie o servidor web Apache através XAMPP painel de controle. You are done! Você está pronto!