Welcome Guest, Not a member yet? Register   Sign In
htaccess issue
#2

[eluser]Aken[/eluser]
That's a really cheap HTACCESS solution. Try this instead:

Code:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /rbs/
    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>

Just make sure to change the "RewriteBase" directory to the folder your install is in. If it's a root directory (AKA at example.com, not example.com/blog), just leave a single slash.


Messages In This Thread
htaccess issue - by El Forum - 08-31-2009, 08:56 PM
htaccess issue - by El Forum - 08-31-2009, 11:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB