Setting up Codeigniter in Subfolder

Setting up Codeigniter in Subfolder

setting up codeigniter can be nightmare with slightest mistake in .htaccess commands. I am pasting htaccess code which works perfectly for quick reference.

RewriteBase /myapp
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php/$1 [L]

Leave a Reply:

Your email address will not be published. Required fields are marked *