Forum Moderators: phranque
Currently I get a 404 error if I try to access domain.com/stuff/ BUT if I go to domain.com/stuff/file.html, it works fine. It seems like all roots of all subdirectories are giving me 404 errors.
This is what they put in the .htaccess file:
RewriteCond $1!\.(php¦ico¦gif¦jpg¦png¦css¦js¦htm¦html¦txt¦zip¦pdf)$
RewriteCond $1!^$
RewriteCond %{REQUEST_FILENAME}!-f
RewriteRule ^(.*)$ index.php?/$1 [L]
I'm not really sure what any of that means, but I do know it's doing something important. At the same time, and I'm only really guessing here, I think it's the cause of my problem. If it's not, then I have absolutely no idea what could be causing this.
Any help would be very much appreciated.
[edited by: Perfection at 4:58 pm (utc) on Oct. 11, 2007]
Make sure you've got a space between "}" and "!" in that directive and also in the "file exists" check in the code previously posted above -- Posting on this forum eats those spaces unless steps are taken to prevent it.
Jim