CodeIgniter Forums
htaccess problem - 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 problem (/showthread.php?tid=37767)



htaccess problem - El Forum - 01-19-2011

[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>



htaccess problem - El Forum - 01-20-2011

[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