codeigniter File not found issue with function in URI
<p>I will try to explain my problem as simple as possible.</p>

<p>My <strong>index URI is working as well</strong> and displays my "test" message.</p>

<pre><code>https :// domain.com /
</code></pre>

<p>But <strong>other URIs doesn't work</strong> and displays "File not found" message.</p>

<pre><code>https :// domain.com / about
</code></pre>

<p>Whereas, this URI is working like i want :</p>

<pre><code>https :// domain.com / index.php / about
</code></pre>

<p>I really don't understand why, can someone help me ? thanks for your help ! :)</p>

<p>my route</p>

<pre><code>$route['default_controller'] = 'pages/view';
$route['(:any)'] = 'pages/view/$1';
</code></pre>

<p>my .htaccess</p>

<pre><code>RewriteEngine on

RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}  [R=301,L]

RewriteRule ^pages/view(/)?(.*)$ /$2 [R=301,L]
RewriteRule ^pages(/)?(.*)$ /$2 [R=301,L]

RewriteCond $1 !^((user_guide|img|css|js|scripts|fonts)\/.*|index\.php|assets/|robots\.txt|.*\.css)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
</code></pre>

<p>my controller file name</p>

<pre><code>Pages.php
</code></pre>

<p>my controller class</p>

<pre><code>&lt;?php
class Pages extends CI_Controller {

    public function view($page = 'home')
    {
        echo'test';
        exit;
    }
}
?&gt;
</code></pre>

<p>my config uri protocol (i've already tried with QUERY_STRING and PATH_INFO)</p>

<pre><code>$config['uri_protocol'] = 'REQUEST_URI';
</code></pre>

<p>I would be really happy to get your help !</p>