Welcome Guest, Not a member yet? Register   Sign In
htaccess/IIS
#1

[eluser]jdfwarrior[/eluser]
What is the easiest method for getting rewrite engine and .htaccess working with IIS? Yes, IIS, dont all make fun of me Smile I wanna remove the index.php from the urls like you typically would just by dropping in a .htaccess. I found mention of using a plugin that would allow for rewrites, but I havent been able to get it to work. Anyone know of an easier method?
#2

[eluser]TheFuzzy0ne[/eluser]
[quote author="jdfwarrior" date="1239571543"]Anyone know of an easier method?[/quote]

Yes - Linux.
#3

[eluser]jdfwarrior[/eluser]
[quote author="TheFuzzy0ne" date="1239575119"][quote author="jdfwarrior" date="1239571543"]Anyone know of an easier method?[/quote]

Yes - Linux.[/quote]

werd. Wish that was an option. This is a project for a hospital running all windows servers. I redesigned their intranet site before, long before I knew about CodeIgniter. When it was done, I had a deadline that was, basically unrealistic so the site never got completely finished, the code is crap, was all just thrown together. They are wanting me to make changes to it now, and are paying well, but I really want to get them away from using the pure PHP implementation they have now and convert them to CI. Gotta figure out how to get index.php out of the url though. Working on a design now and want to show them a few examples of how much easier things can be implemented and how much faster I can get things done in CI and using some other stuff I've learned since then.

I may end up seeing if I can just install xampp on that machine, and telling it to listen on a different port than what they are currently using. Get everything up and running and then swap ports. With xampp I know I can drop in a .htaccess and roll on. The IT manager is more than likely going to want to stay with IIS though. Any suggestions? Someone? Please?
#4

[eluser]TheFuzzy0ne[/eluser]
I've seen a lot of Web sites that are selling products for IIS. Some examples:

http://www.micronovae.com/ModRewrite/ModRewrite.html
http://www.helicontech.com/isapi_rewrite/

If you just want to remove the index.php, does this help - http://expressionengine.com/wiki/Remove_...From_URLs/?
#5

[eluser]jdfwarrior[/eluser]
I had not searched the ee wiki, believe I did a quick serach through ci wiki and did a search on the forums here and I found a link to the ionics mod rewrite (mentioned in the ee wiki page). That's the one I had tried. I'll try it again, and may just purchase one of the others, but not yet. Still trying to get them to agreed to letting me revamp everything. I don't wanna pay for it and then not need it.

Thanks for the help Fuzzy
#6

[eluser]TheFuzzy0ne[/eluser]
I've done a bit of a search for you on http://sourceforge.com, and I found these:

[url="http://sourceforge.net/projects/iis-rewriter/"]ISS URL-rewriter[/url]
[url="http://sourceforge.net/projects/thedirector/"]TheDirector[/url]

Good luck!
#7

[eluser]jedd[/eluser]
If you're pondering the option of a different stack - don't mess with a different port, just set up a virtual machine with a Debian instance inside. You can sell them on the virtualisation options (easy to move to bigger hardware if they need), reduced developer problems (you can develop on the same box - almost literally - that will go into production). Better uptimes, comparable performance to native, easier migration path forward, reduced licencing costs (licence-tracking and maintenance is a huge pain for organisations) and , given they're a hospital, you might be able to push the positive ethics of such a decision.

Having said all that, surely IIS has some equivalent feature to dump the index.php file - and it can't be *that* badly documented? (Spoken like someone who's never had to suffer the slings and arrows of Microsoft's outrageous indifference.)




Theme © iAndrew 2016 - Forum software by © MyBB