title: .htaccess denying $_GET params
body: <p>Basically, I'd like to pass a $_GET param like that:</p>
  <p><code>&lt;a class=&quot;btn btn-danger&quot; href=&quot;/deleteController.php?delete=&lt;?= $tasks['listid'] ?&gt;&quot;&gt; Delete &lt;/a&gt;</code></p>
  <p>However, it seems that my .htaccess file does not see it as a valid file:</p>
  <pre><code>
  Warning: require_once(/opt/lampp/htdocs/src/controller/deleteController.php?delete=1): failed to open stream: No such file or directory in /opt/lampp/htdocs/public/index.php on line 14
  
  Fatal error: require_once(): Failed opening required '/opt/lampp/htdocs/src/controller/deleteController.php?delete=1' (include_path='.:/opt/lampp/lib/php') in /opt/lampp/htdocs/public/index.php on line 14
  </code></pre>
  <p>And finally my .htaccess file:</p>
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . / [L]
  &lt;/IfModule&gt;
  </code></pre>
  <p>If someone could help me figuring out how can I get my .htaccess to allow $_GET params, and still requiring the wanted file, I'd greatly appreciate it.</p>
  <h1>EDIT:</h1>
  <p>index.php controller (before the fix):</p>
  <pre><code>$uri = urldecode($_SERVER['REQUEST_URI']);
  
     if ($uri === '' || $uri === '/' || $uri === '/index.php') {
         $uri = '/task_list_Controller.php';
     }
     require_once(CONTROLLER_PATH . $uri);
  </code></pre>