Jump to content

IIS error 404, when i add IsapiRewrite4.dll to ISapi filter, iis=vers 5,winxpro


tovia_sweet

Recommended Posts

IIS error 404, when i add IsapiRewrite4.dll to ISapi filter, version: iis = version 5, windows = xp pro?

 

Hi

 

My iis webserver works fine and and is configured with php, mysql etc, but when i add:

 

Isapi filter: D:\rewrite\IsapiRewrite4.dll

 

(i also added IsapiRewrite4.ini to my d:\rewrite directory)

 

and under directory security i have my current admin user:

MPC\web_user

 

i then restart iis services, and i get:

 

 

HTTP 404 - File not found

Internet Information Services

 

not even .html pages will open from my webserver:

http://mpc/head.html

 

i checked services:

IIS Admin

World Wide Web Publishing

 

And they are working fine in services, all started!

 

Strange but when i remove my: Isapi filter everything works fine, and i can view pages through iis, internet explorer as normal.

 

 

http://localhost/iishelp/iis/htm/core/iihtmat.htm#virtualdirectories

gives me:

 

Physical Location/ Alias/ URL Path:

 

C:\Inetpub\wwwroot home directory

(none)

http://Sales

 

\\Server2\SalesData\ProdCustomers

Customers

http://Sales/Customers

 

C:\Inetpub\wwwroot\Quotes

None

http://Sales/Quotes

 

C:\Inetpub\wwwroot\OrderStatus

None

http://Sales/OrderStatus

 

D:\Mktng\PR

PR

http://Sales/PR

 

 

Reason i added a filter was because i need to rewrite urls produced by my php pages:

 

http://mpc/new.php?id="98"

to searche engine friendly urls without ? and without .php & with names

 

Thanks in advance

 

but why does the filter give me error 404 when i add it into Isapi filter?

And its fine without it?

 

Kind Regards

Tovia Singer

  • 9 months later...

Hi I got the same problem like you.

 

The solution is

 

Go to your IIS, right click the webiste, then go to home directory, and click configuration.

 

In the "mappings" tab, find the "htm" or "html", edit it, UNCHECKEDthe "Check that file exist".

 

Then you can mapping them.

 

Cheers,

 

Takeabreak

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.