Hello all.
I have the following URL which gives "No Input File Specified", example.com/dir/page.php/reset ... I have been able to get around this in the past with the following code
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)[\x2F]([^\x2F]+)(.*) $1/$2?vars=$3
But that code doesn't work for URL's such as example.com/dir/page.php/reset ... only example.com/page.php/reset
Could someone please help me on this? I have the following code that replaces properly according to online testers, but doesn't seem to help when put into .htaccess
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\.php[\x2F]?(.*)$ $1.php?vars=$2
TIA!