Welcome Guest, Not a member yet? Register   Sign In
htaccess file
#1

[eluser]ray73864[/eluser]
What is wrong with this htaccess code?

Code:
Options +FollowSymLinks
Options -Indexes
DirectoryIndex index.php
RewriteEngine on
RewriteCond $1 !^(index\.php|fckeditor|img|images|css|js|robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]

For some reason, all requests for /fckeditor/ are going through to index.php (it ends up showing the CI 404 page)

The annoying thing is that this used to work perfectly about a week ago and all of a sudden it doesn't work anymore.

I changed the .htaccess file to this

Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|img|js|css|files|fckeditor|robots\.txt)
RewriteRule ^(.*)$ index.php?/$1 [L]

but it still isn't working.


Messages In This Thread
htaccess file - by El Forum - 03-16-2009, 03:21 PM
htaccess file - by El Forum - 03-16-2009, 03:30 PM
htaccess file - by El Forum - 03-16-2009, 03:34 PM
htaccess file - by El Forum - 03-16-2009, 03:39 PM
htaccess file - by El Forum - 03-16-2009, 04:07 PM
htaccess file - by El Forum - 03-16-2009, 04:09 PM
htaccess file - by El Forum - 03-16-2009, 04:13 PM
htaccess file - by El Forum - 03-16-2009, 04:17 PM
htaccess file - by El Forum - 03-16-2009, 04:22 PM
htaccess file - by El Forum - 03-16-2009, 04:24 PM
htaccess file - by El Forum - 03-16-2009, 04:27 PM
htaccess file - by El Forum - 03-16-2009, 05:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB