Welcome Guest, Not a member yet? Register   Sign In
CI & XAMPP... does not works without "index.php"
#2

[eluser]alexwenzel[/eluser]
First, try this .htacces:

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>

Then goto your config.php and empty the following array:

Code:
$config['index_page'] = '';

This should work i guess.


Messages In This Thread
CI & XAMPP... does not works without "index.php" - by El Forum - 10-11-2012, 05:07 AM
CI & XAMPP... does not works without "index.php" - by El Forum - 10-11-2012, 07:01 AM
CI & XAMPP... does not works without "index.php" - by El Forum - 10-11-2012, 08:49 AM
CI & XAMPP... does not works without "index.php" - by El Forum - 10-11-2012, 09:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB