CodeIgniter Forums
.HTACCESS Configuration - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: .HTACCESS Configuration (/showthread.php?tid=6043)



.HTACCESS Configuration - El Forum - 02-13-2008

[eluser]Spaxx[/eluser]
Hi i have this website online and still fresh in .htaccess programming. for example http://www.domain.com/index.php/company.html. I want to remove "index.php" string and without affecting the accessing of other folders e.g. "backend".
e.g http://www.domain.com/backend/

Back end is the admin part that i generated using a RAD tool.

So how do i allow access to the contents of "backend" folder in the .htaccess?

Also, is there a faster way of creating a administration section rapidly but in form of CI??


.HTACCESS Configuration - El Forum - 02-13-2008

[eluser]xwero[/eluser]
.htaccess from the user guide
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
Add to the second rule backend and you are set.

Take a look at CodeExtinguisher for your fast creating of an administration section