Portal Home > Knowledgebase > Articles Database > HTACCESS rewrites on windows server?


HTACCESS rewrites on windows server?




Posted by loot, 10-08-2009, 03:15 AM
I designed a website for a client and his web hosting turned out to actually be on a windows server. I designed the site a while ago assuming it would be Apache so it includes URL rewrites. When I designed it it was hosted on my dedicated server but now needs to be moved to his hosting. So the problem is the site doesn't work properly because the rewrites don't function on a windows server. The client's host says that there is no way to do these kinds of rewrites on a windows server...is this true? If there is in fact a solution then is it free? Its a lot of work to modify the site to not include these rewrites and would end up with a somewhat less than perfect site. Thanks in advance.

Posted by foobic, 10-08-2009, 03:37 AM
There are modules like mod_rewrite for Windows servers, but the host would have to install one of them. I don't think there's anything to be done from the client side. Fortunately there is a simple solution: Move to *nix hosting.

Posted by prashant1979, 10-08-2009, 03:38 AM
For IIS, there is a third party module available with the name ISAPI_Rewrite. More details can be found at http://www.helicontech.com/isapi_rewrite/. However, IIS does not recognise .htaccess files and hence .htaccess cannot be used.

Posted by loot, 10-08-2009, 05:38 AM
Yes I realise the host would have to install them. Is there any reason why the host wouldn't want to install it? I also realise the HTACCESS commands would need to be changed but that would be a lot less work than changing the entire site. I'm assuming you can achieve all the same kinds of rewrites like in HTACCESS with ISAPI_Rewrite?

Posted by loot, 10-08-2009, 05:51 AM
Also I notice that software is not free so I guess maybe that's why the host doesn't want to install it..

Posted by loot, 10-10-2009, 06:30 AM
Anyone with any more insight? Any free options for ISAPI_Rewrite?



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
How to install CURL? (Views: 796)


Language:

LoadingRetrieving latest tweet...

Back to Top Copyright © 2018 DC International LLC. - All Rights Reserved.