Welcome Guest, Not a member yet? Register   Sign In
HTACCESS PROBLEM TO REMOVE INDEX.PHP FILE
#9

[eluser]CroNiX[/eluser]
.htaccess should go in the same location as CI's index.php (your site's root dir). You should not alter the .htaccess located within /application or /system unless you understand the security implications (anyone could directly access your controllers/models/libraries/views/etc...so don't)

If your CI install is in a subdirectory, then you probably need to include a rewritebase statement.

Code:
RewriteEngine on
RewriteBase /your_ci_subfolder/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]


Messages In This Thread
HTACCESS PROBLEM TO REMOVE INDEX.PHP FILE - by El Forum - 09-06-2013, 08:14 AM
HTACCESS PROBLEM TO REMOVE INDEX.PHP FILE - by El Forum - 09-06-2013, 11:56 AM
HTACCESS PROBLEM TO REMOVE INDEX.PHP FILE - by El Forum - 09-06-2013, 12:01 PM
HTACCESS PROBLEM TO REMOVE INDEX.PHP FILE - by El Forum - 09-06-2013, 12:18 PM
HTACCESS PROBLEM TO REMOVE INDEX.PHP FILE - by El Forum - 09-06-2013, 06:58 PM
HTACCESS PROBLEM TO REMOVE INDEX.PHP FILE - by El Forum - 09-08-2013, 03:43 PM
HTACCESS PROBLEM TO REMOVE INDEX.PHP FILE - by El Forum - 09-08-2013, 04:48 PM
HTACCESS PROBLEM TO REMOVE INDEX.PHP FILE - by El Forum - 09-19-2013, 08:04 AM
HTACCESS PROBLEM TO REMOVE INDEX.PHP FILE - by El Forum - 09-19-2013, 11:14 AM
HTACCESS PROBLEM TO REMOVE INDEX.PHP FILE - by El Forum - 09-19-2013, 01:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB