tovia_sweet Posted November 21, 2007 Share Posted November 21, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/78322-iis-error-404-when-i-add-isapirewrite4dll-to-isapi-filter-iisvers-5winxpro/ Share on other sites More sharing options...
takeabreak Posted September 8, 2008 Share Posted September 8, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/78322-iis-error-404-when-i-add-isapirewrite4dll-to-isapi-filter-iisvers-5winxpro/#findComment-637061 Share on other sites More sharing options...
corbin Posted September 9, 2008 Share Posted September 9, 2008 "Last Active: February 26, 2008, 07:58:01 AM" o.O Quote Link to comment https://forums.phpfreaks.com/topic/78322-iis-error-404-when-i-add-isapirewrite4dll-to-isapi-filter-iisvers-5winxpro/#findComment-637087 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.