0

I am working on a codeigniter project on which I don't have privilege to change configuration, so I can't enable rewrite engine.

On another case, instead apache, I am using IIS 6.0.

So, how to redirect the pages in both cases so I could make the system work without index.php on url ?

Charles
  • 50,943
  • 13
  • 104
  • 142
hsuk
  • 6,770
  • 13
  • 50
  • 80
  • What version of IIS are you using? – James Culshaw Mar 04 '13 at 15:10
  • You're almost asking "How do I swim without liquid around me?". The rewrite_module is required, and you _should_ have access to it, if not get it. – Robin Castlin Mar 04 '13 at 15:17
  • @husk - pity IIS7 has a url rewriting module that you can install and configure. If you can change your IIS6 install you could use http://www.isapirewrite.com/ whcih is an ISAPI filter. – James Culshaw Mar 04 '13 at 17:20

1 Answers1

1

Without the rewrite engine, you're stuck with ugly URLs. You can do something like this though:

/index.php/your/nicer/url

That should work on any server, with most software.

Brandon
  • 16,382
  • 12
  • 55
  • 88