My CodeIgniter project is running successfully on my XAMPP system with the url,
http://localhost/newsfeeds/users/allCategories/
When I move this project to another system has LAMP server on Ubuntu 13.10. To run the same page I need the url,
http://localhost/newsfeeds/index.php/users/allCategories/
I need the index.php file otherwise it shows a page not fount error.
My htaccess file is,
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
How can I run the same project without index.php on both WAMPP and XAMP server ?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…