RewriteEngine on
RewriteCond $1 !^(index\.php|resources|dms|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
I have two sites both of which are developed in Codeigniter.One site is placed on the root folder and another one is in the subfolder.My problem is due to the .htaccess placed on the root folder. Above provided htaccess code is currently placed on my root.Now what I want is to set up a new codeigniter site as a subdomain named as 'dms' but I am getting Codeigniter's 404 error after placing all my code on my subdomain folder and trying to access any controller in the subdomain.
What changes should I make in the htaccess file