Welcome Guest, Not a member yet? Register   Sign In
another CI in subdirectory?
#3

[eluser]danmontgomery[/eluser]
You seem to be mixing and matching your .htaccess

Code:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

Will only route paths that do not exist

Code:
RewriteCond $1 !^(index\.php|images|robots\.txt|css)

Will only route things not listed here... Since you're already not routing existing files & directories, this line will never do anything. Unless these files don't actually exist, in which case you'd just get an apache 404 instead of a CI 404.

Since you have a separate installation in /testnew, you would need a new htaccess for /testnew, and you would need to change RewriteBase from / to /testnew/


Messages In This Thread
another CI in subdirectory? - by El Forum - 05-10-2010, 12:59 PM
another CI in subdirectory? - by El Forum - 05-10-2010, 01:23 PM
another CI in subdirectory? - by El Forum - 05-10-2010, 01:27 PM
another CI in subdirectory? - by El Forum - 05-10-2010, 02:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB