[eluser]Unknown[/eluser]
I have to remove index.php from my url as well as i am using SSL connection for all pages so i write .htacces file like following way. i write .htaccess file in Docuemtroot directory where code igniter installed and one another .htaccess already in application directory. I followd this steps but my problems not solved.
RewriteEngine On
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
RewriteCond %{SERVER_PORT} 443
RewriteRule ^(.*)$ https://<IP>/$1 [L]
If i write code for rewriting to https in .htacess of application directory then its rewriting all http request to https ..thats fine for me ..But i also want to remove index.php..But if i append code in .htaccess for removing index.php doesnt work for me.