Welcome Guest, Not a member yet? Register   Sign In
.HTACCESS Configuration
#1

[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??
#2

[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




Theme © iAndrew 2016 - Forum software by © MyBB