Announcement

Collapse
No announcement yet.

IIS Redirect Question

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • IIS Redirect Question

    Hey all, I hope this is the correct place for this question.

    I am in need of creating a redirect page, sounds easy right?

    I have a site setup up in IIS 6.0 on a 2003 server and I need that site to redirect to another server.

    I need the redirection to keep the 'suffix' and add that to the new redirected URL. That is done easily enough by using the redirection variable $S.

    The problem is that my new URL contains a comma and the 'Redirect to' entry box will not let me use commas.

    How can I get around this?


    Thanks,
    Major

  • #2
    Re: IIS Redirect Question

    http://devadvice.adopenstatic.com/cs...03/22/119.aspx

    Looks like you can use %2C instead of the comma.

    Comment


    • #3
      Re: IIS Redirect Question

      Originally posted by JonH View Post
      http://devadvice.adopenstatic.com/cs...03/22/119.aspx

      Looks like you can use %2C instead of the comma.
      I had found that but it doesn't seem to work for me.

      I get 'The page you requested (/%2CDanaInfo/default.asp) could not be found."

      ???


      Thanks in advance,
      Major

      Comment


      • #4
        Re: IIS Redirect Question

        Originally posted by MajorWoody View Post
        I had found that but it doesn't seem to work for me.

        I get 'The page you requested (/%2CDanaInfo/default.asp) could not be found."

        ???


        Thanks in advance,
        Major
        I have this resolved, I never could get the %2C to work...

        I ended up trying IIS 7 on a Windows 2008 server and it worked like a champ. It allowed me to use a comma in the URL and with the $S variable I am able to pass the suffix in the URL.


        Major

        Comment

        Working...
        X