Welcome Guest, Not a member yet? Register   Sign In
Should there be an htaccess file?
#2

[eluser]alexwenzel[/eluser]
Checkout your app with the following .htaccess

Code:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /your-site-whatever/
  
    RewriteCond %{REQUEST_URI} ^system.*
    RewriteRule ^(.*)$ /index.php?/$1 [L]
  
    RewriteCond %{REQUEST_URI} ^application.*
    RewriteRule ^(.*)$ /index.php?/$1 [L]

    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?/$1 [L]

</IfModule>

<IfModule !mod_rewrite.c>
    ErrorDocument 404 /index.php
</IfModule>


Messages In This Thread
Should there be an htaccess file? - by El Forum - 10-11-2012, 08:03 AM
Should there be an htaccess file? - by El Forum - 10-11-2012, 08:07 AM
Should there be an htaccess file? - by El Forum - 10-11-2012, 08:09 AM
Should there be an htaccess file? - by El Forum - 10-11-2012, 08:26 AM
Should there be an htaccess file? - by El Forum - 10-11-2012, 08:45 PM
Should there be an htaccess file? - by El Forum - 10-12-2012, 12:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB