Hello
I placed this code for my site and Error 404 was fixed. But then the problem
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
invalid application/octet-stream