2

How to remove index.php in codeigniter on Windows 7 and IIS.

I searched net for the solution but result weree based on re-write module of Apache, if anyone has worked on IIS and Windows 7 and had similar situation pls help on this.

I want to work on IIS and Windows 7 and if I can remove index.php while calling any particular controller / module.

1
  • If this is a production box then i wouldnt keep it on windows too long. Windows + PHP is still shaky at best and has a lot of problems. Best to move to a linux box for production. if this is just for development you should be fine but you may want to look into XAMPP apachefriends.org/en/xampp-windows.html Commented Feb 19, 2010 at 15:24

2 Answers 2

2

You can use ISAPI_Rewrite for that if you are under IIS.

Sign up to request clarification or add additional context in comments.

1 Comment

@Viral once you've got that working make sure you set $config['index_page'] to a blank string as well!
0

I would recommend IIRF (Ionic's ISAPI Rewrite Filter) which is a rewriter for IIS that unlike ISAPI_Rewrite is completely free for the full functionality. The lite version of ISAPI_Rewrite might suffice for just this one issue (removing index.php for CodeIgniter), but IIRF can do so much more.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.