Recently on a new PC I installed AppServ.
As always, I started developing a script in PHP previously having configured the .htaccess file
This is the situation:
.htaccess
RewriteEngine On
RewriteRule ^step/token/([a-zA-Z0-9_-]+)/?$ step.php?load=page&page=reset-token&token=$1 [L,QSA]
step.php
print_r($_GET)
Test #1
If I load the URL
http://localhost/mod-rewrite/step.php?load=page&page=reset-token&token=123
This is the output:
Array ( [load] => page [page] => reset-token [token] => 123 )
Test #2
If I load the URL with the desired format
http://localhost/mod-rewite/step/token/123/
The issue
Array ( )
In C:\AppServ\Apache2.2\conf\httpd.conf
LoadModule rewrite_module modules/mod_rewrite.so Does not start with #
And AllowOverride is All
<directory />
Options FollowSymLinks
AllowOverride All
order deny,allow
Deny from all
</directory>
What can be happening?