Welcome Guest, Not a member yet? Register   Sign In
Those with .htaccess problems, removing index.php SOLVED
#1

[eluser]LifeSteala[/eluser]
Hi guys. This is a thread to say after so long I got my .htaccess file working brilliantly.

Thought I would post this up as I saw a lot of other threads where others were having the same problem, unsolved. I'm sure this will fix it.

I needed to add

Code:
Options FollowSymLinks

and it all started working.

My htaccess file:

Code:
Options FollowSymLinks
<IfModule mod_rewrite.c>
    RewriteEngine on
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

<IfModule !mod_rewrite.c>
    # If we don't have mod_rewrite installed, all 404's
    # can be sent to index.php, and everything works as normal.
    # Submitted by: ElliotHaughin

    ErrorDocument 404 /index.php
</IfModule>

I hope this helps with anyone having the same problem.


Messages In This Thread
Those with .htaccess problems, removing index.php SOLVED - by El Forum - 08-03-2008, 08:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB