CodeIgniter Forums
Problem removing 'index.php' with .htaccess - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Problem removing 'index.php' with .htaccess (/showthread.php?tid=8889)

Pages: 1 2 3 4


Problem removing 'index.php' with .htaccess - El Forum - 01-19-2012

[eluser]Dhanapal MCA[/eluser]
[quote author="louis w" date="1212610977"]I did not even know ModRewrite could log. Where do you put that? I tried placing it in my .htaccess and it a server 500. Apache logs says "RewriteLog not allowed here"[/quote]


Problem removing 'index.php' with .htaccess - El Forum - 01-19-2012

[eluser]Dhanapal MCA[/eluser]
Quote:[quote author="louis w" date="1212613338"]Try this out (removed the quotes)

Code:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [L]

finally modify config file.

index = '';