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

Link to comment
Share on other sites

  • 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

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.