Previous Next

Thread: Problem with Url Rewriting and 2003 server

Last post 04-15-2008 12:42 PM by cheeso. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 03-19-2008, 2:43 PM

    Problem with Url Rewriting and 2003 server

    Hello everyone, Im developing a web app using an Url Rewriter Intelligencia.UrlRewriter.dll, and i had no problems while developig it. When i try to deploy this app in a 2003 server i get the 404 error for all the pages i try to reach with the names changed. In the IIS someone told me to put in teh configuration of the project teh address c:/windows/microsoft.net/framework/v2.0.50727/aspnet_isapi.dll and uncheck the exist checkbox. I did that and nothing changed. When i use the original pages addresses i reach them without problem, but with the url rewriting i alway get the not found page. Anyone can help me?

     

    Thanx in advance 

  • 03-21-2008, 10:44 AM In reply to

    Re: Problem with Url Rewriting and 2003 server

     I have search a lot, but seems my problem is very specific. I have a server in wich it works, but this is a test server, (windows 2003), when i try to deploy it in another server it doesnt work. I look for softwares instalations in the test server, found a SP2, a security update of framework 2.0 and other updates of windows, but in the real server and other 2 its the same, maybe i should change of dll for the rewriting thing?

  • 03-23-2008, 12:14 AM In reply to

    Re: Problem with Url Rewriting and 2003 server

    I would try to reproduce the issue locally on your test server.  Another place to check is your IIS logs to see what is exactly being requested. 

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield

    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 03-24-2008, 2:30 PM In reply to

    Re: Problem with Url Rewriting and 2003 server

    thanx for your answers, i have solved the problem, in the end it had nothing to do with the configuration, but anyway i'm gooing to say it so it can be useful for anyone. I had the project instaled in a test server, with a virtual directory, and when i tried to deploy it in a real hostname it doesnt work, and it all was due to regular expression. I have a regular expression like this: This regular expression worked in a virtual directory like this: http://www.a.com/Gifts/ but not in a root domain: http://www.a.com/ So after lots of test i realized i only have to add the ^ symbol in front. And now it works!!
  • 04-15-2008, 12:42 PM In reply to

    • cheeso
    • Top 500 Contributor
    • Joined on 12-10-2002, 3:42 PM
    • Posts 10

    Re: Problem with Url Rewriting and 2003 server

    Regular Expressions are black magic!

    -Cheeso
Page 1 of 1 (6 items)
Page view counter