Rewriterule for CodeIgniter not working
问题 I have installed a clean Apache2 (plus PHP & MySQL) server and enabled the mod_rewrite in the apache config. I added the .htaccess file to remove the index.php from the url as described in the CodeIgniter wiki. RewriteEngine on RewriteCond $1 !^(index\.php|images|robots\.txt) RewriteRule ^(.*)$ /index.php/$1 [L] I placed this file in the website's root. When I try to access the url mydomain.local/index.php/welcome then I get the default page of CodeIgniter. But when I try to access the same