ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

.HTACCESS Configuration

February 13, 2008 5:51am

Subscribe [2]
  • #1 / Feb 13, 2008 5:51am

    Spaxx's avatar

    Spaxx

    4 posts

    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 / Feb 13, 2008 6:03am

    xwero

    4145 posts

    .htaccess from the user guide

    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

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases