Apache .htaccess give me a No input file specified
<p>I known I'm asking about a well known problem, but I'm not a pro with LAMP stack and the answers I found doesn't fit my issue. This is my .htaccess file:</p>

<pre><code>RewriteEngine On
RewriteRule myservices/user/(.*)$ myservicesapi.php/$1 [QSA,NC,L]
</code></pre>

<p>which works pretty well on my Apache 2.4, but gives me back a "No input file specified" as I put it (together with <code>myservicesapi.php</code>) on my hosted web service. Previous version of my .htaccess was this:</p>

<pre><code>RewriteEngine On
RewriteRule myservices/(.*)$ myservicesapi.php/?id=$1 [QSA,NC,L]
</code></pre>

<p>and it worked well on hosted web server too. How strange.</p>