[eluser]nairit01[/eluser]
Thanks buddy CroNIX ! Your small hint helped me to solve the .htaccess problem. My redirection part was written inside this :
Code:
<IfModule mod_rewrite.so>
....
</IfModule>
That part was not being entered. There was another part below that which was being entered :
Code:
<IfModule !mod_rewrite.so>
ErrorDocument 404 /ci/index.php
</IfModule>
And the whole CI 's index.php removal from URL was working fine from that part below. Only the POST ed data was inaccessible because it was no longer a proper form post. Rather it was a redirection to the error page, which by chance was also index.php
Trial and error helped me to detect that this block will be entered correctly :
Code:
<IfModule mod_rewrite.c>
....
</IfModule>
Even though the modules file extension on Windows is .so and not .c as in Linux
And we should always create a separate error.php for redirecting the 404 errors and never use the same index.php
Valuable insight for me and may be you other readers.