I decided to abandon XAMPP and go to Wamp yesterday. Today I needed to configure the .htaccess of my application, and, to my surprise, it seems that the file does not "save" the changes.
I'm running the Wamp almost "clean". The only change I made was to change the DocumentRoot to another directory, thus leaving:
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "D:/Desenvolvimento/php/teemprego/"
<Directory "D:/Desenvolvimento/php/teemprego/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
It turns out that my .htaccess looks like it bugged. I was previously writing conditions to remove .php at the end of the file. Until then, all right. But now, I deleted these conditions and wrote others, but I still get access to files without .php at the end and my new conditions do not work.
I have already restarted Wamp, checked if the module is active and nothing ... I suspect this may have something to do with changing the DocumentRoot.
.htaccess current
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^app/([a-z0-9-]+)/?$ app.php?view=$1 [NC]
RewriteRule ^beta/autenticar/([0-9a-zA-Z]+)/?$ beta.php?authUser=$1 [NC,L]
</IfModule>