404 page not found the page you requested was not found. codeigniter 3 code example

Example 1: 404 Page Not FoundThe page you requested was not found

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-dQQQQQQQQQQQQQQQQQQQQQQ
RewriteRule ^(.*)$ index.php/$1 [L]
Options -Indexes

Example 2: 404 Page Not FoundThe page you requested was not found

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
Options -Indexes
wWAEAEEwdwD