title: Codeigniter $config['uri_protocol'] problem
body: <p>I need to change  <code>$config['uri_protocol']</code> from AUTO to PATH_INFO (to allow url parameters)</p>
  
  <p>My problem: when I set <code>$config['uri_protocol']="PATH_INFO";</code> the regular urls stop functioning and I get the homepage no matter which site page URL I click.</p>
  
  <p>print_r ($_SERVER) shows that url parameters I add appear only in REQUEST_URI an not in any other $_SERVER part.</p>
  
  <p>my htaccess is the <a href="http://codeigniter.com/wiki/mod_rewrite/" rel="nofollow noreferrer">standard one</a> </p>
  
  <pre><code>&lt;IfModule mod_rewrite.c&gt;
      RewriteEngine On
  
      # This is different between local host and production server!!!
      RewriteBase /
  
  
      #Removes access to the system folder by users.
      #Additionally this will allow you to create a System.php controller,
      #previously this would not have been possible.
      #'system' can be replaced if you have renamed your system folder.
      RewriteCond %{REQUEST_URI} ^system.*
      RewriteRule ^(.*)$ /index.php?/$1 [L]
  
      #Checks to see if the user is attempting to access a valid file,
      #such as an image or css document, if this isn't true it sends the
      #request to index.php
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^(.*)$ index.php?/$1 [L]
  &lt;/IfModule&gt;
  
  &lt;IfModule !mod_rewrite.c&gt;
      # If we don't have mod_rewrite installed, all 404's
      # can be sent to index.php, and everything works as normal.
      # Submitted by: ElliotHaughin
  
      ErrorDocument 404 /index.php
  &lt;/IfModule&gt; 
  </code></pre>
  
  <p>UPDATE:  </p>
  
  <p>I changed</p>
  
  <pre><code>RewriteRule ^(.*)$ index.php?/$1 [L]
  </code></pre>
  
  <p>to
  <code>RewriteRule ^(.*)$ index.php?/$1 [QSA,L]</code>  to allow url params to pass. Now url params appear also in  </p>
  
  <pre><code> $_SERVER
  
   REDIRECT_QUERY_STRING, QUERY_STRING AND REQUEST_URI
  </code></pre>
  
  <p>.</p>
  
  <p>The problem: I tried $config[‘uri_protocol’] with all the above options but still CI gives error 404 whenever I add URL parameters.</p>
  
  <p>Note: I tried the above on 2 servers. One of them is centos5/Apache2/Plesk VPS and another one is on xampp/Vista. </p>