Go Back   Talk Microsoft > Microsoft Operating Systems & Software > Windows XP

Reply
     IIS error 404, when i add IsapiRewrite4.dll to ISapi filter, version: iis = 5,  
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-22-2007, 04:27 PM
jam jam is offline
Junior Member
 
Join Date: Sep 2007
Posts: 24
Default IIS error 404, when i add IsapiRewrite4.dll to ISapi filter, version: iis = 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.

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

Kind Regards
Tovia Singer
Reply With Quote
Links
  #2 (permalink)  
Old 11-22-2007, 04:27 PM
Junior Member
 
Join Date: Aug 2007
Posts: 6
Default

What is IsapiRewrite4.dll? Is that straight outta the box for IIS? You may need to update your version of IIS, as far as I know, only IIS7 can handle things like url rewriting...

Or you could just install Apache Why run IIS if you're not using ASP anyway? PHP and Apache go well together, and you wouldn't have to use some non-Windows supported method for rewriting URLs.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 05:08 AM.