CodeIgniter Forums

Full Version: htaccess problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]nuclearmaker[/eluser]
im keep wondering why this htaccess works on codeignter,not codeigniter reactor.

Code:
<IfModule mod_rewrite.c>

    Options +FollowSymLinks -Indexes
    RewriteEngine onlines
    #AllowOverride All
    RewriteBase /

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    <IfModule mod_php5.c>
        RewriteRule ^(.*)$ index.php/$1 [L]
    </IfModule>

    <IfModule !mod_php5.c>
        RewriteRule ^(.*)$ index.php?/$1 [L]
    </IfModule>

</IfModule>

El Forum

[eluser]InsiteFX[/eluser]
Code:
<IfModule mod_rewrite.c>

Options +FollowSymLinks -Indexes
RewriteEngine onlines <-- should RewriteEngine on
#AllowOverride All
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

<IfModule mod_php5.c>
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

<IfModule !mod_php5.c>
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>

</IfModule>

InsiteFX