Web Hosting Talk







View Full Version : Mod_rewrite error


parag
06-24-2010, 06:17 AM
Hello,

We have windows server including php.

We are getting errors about mod_rewrite and GD.

How to enable mod_rewrite in php in windows?

Please advise.

Softsys Hosting
06-24-2010, 08:27 AM
Which web server are you using on Windows? If you are using IIS, mod_rewrite will not work! GD can be enabled by making configuration change in php.ini file.

parag
06-24-2010, 08:49 AM
Hello,

Why mod_rewrite can not be enable with IIS?

Is there any alternative way to resolve this issue?

Please advise.

Softsys Hosting
06-24-2010, 08:54 AM
IIS does not support mod_rewrite. However, if you are using IIS7, you can use IIS 7 URL Rewrite module instead for URL Rewriting purposes. If you are using IIS 6 you can use URLRewriter.net instead.

parag
06-24-2010, 09:55 AM
Hello,

We are using IIS6 in windows server.

Is there any thing to reslove this issue?

Please advise.

PremiumHost
06-25-2010, 01:57 AM
Mod_rewrite is a feature of linux hosting.
You will need to configure the script not using mod_rewrite.

Boadicea
07-01-2010, 10:46 AM
You can get mod_rewrite to work on IIS but it is done with a 3rd party application. Can't remember the name though and it was quite expensive.

Hostfly
07-20-2010, 01:17 PM
Yes IIS doesnt comes with inbuilt mod_write

sanseo
09-23-2010, 05:07 AM
Hello,

We are using IIS6 in windows server.

Is there any thing to reslove this issue?

Please advise.

Softsys Hosting, clear this

you are using IIS 6 you can use URLRewriter.net instead.

windows and linux based servers have own architecture, so they have different way to performing same task.

Softsys Hosting
09-23-2010, 08:04 AM
Softsys Hosting, clear this



windows and linux based servers have own architecture, so they have different way to performing same task.

URLRewriter.net (http://urlrewriter.net/) is an open source URL Rewriting module for ASP.NET 1.1/2.0 and can be used in IIS 6 by creating a wild card mapping to aspnet_isapi.dll.

BKerry
09-23-2010, 11:18 AM
Install the following ISAPI filter, you will get the same mod_rewrite features as you do in Linux.

http://iirf.codeplex.com/