I have this on my /html directory:
.htaccess
info/
info/public.php
info.php
htaccess file:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]
One app call to
info/public?format=json
Another app call to
info?format=json
I can't figure out how to make both request get response since second request is returning 404. Any idea?