Welcome to WebmasterWorld Guest from 18.205.176.85

Forum Moderators: ocean10000

Message Too Old, No Replies

isapi rewrite errors - simples

where do i get the errors or problem solve

     
7:37 am on Feb 7, 2009 (gmt 0)

Junior Member

10+ Year Member

joined:Nov 28, 2003
posts:104
votes: 0


I have started using isapi rewrite with php on IIS for the first time and I am not getting the results I want yet, so I have a few simple queries about how to problem solve.

I asked my tech guy whether there are isapi log files and he said.

No, there is no such log. IIS doesn't know what the rewritten URL is because it's being handled by a third party ISAPI filter, and the filter doesn't make any logs.

Is there meant to be a something generated by isapi rewrite which shows which URL I am accessing (post rewrite) as opposed to the URL I entered in address bar?

Where can i get errors from?

How do you problem solve your isapi rewrite problems?

Thank you in advance for any help

1:03 pm on Feb 10, 2009 (gmt 0)

Junior Member

10+ Year Member

joined:Dec 19, 2006
posts:92
votes: 0


ISAPI_Rewrite places parse errors into httpd.parse.errors or similar, either in the root of your website (htdocs for e.g.) or in program files...

Assuming you are using .Net, ISAPI_Rewrite places the original URL into:

HttpContext.Current.Request.ServerVariables("HTTP_X_REWRITE_URL")

It also comes with a regular expressions test utility which is useful. Suggest you check the help section on the website that corresponds to the version you are using. (make sure it is the latest version!).

Also suggest you get a new tech guy hehe nah just kidding