Previous Next

Thread: renaming url like .htaccess

Last post 04-07-2008 1:31 PM by BANDERS66. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 12-19-2006, 8:49 AM

    • phdhiren
    • Not Ranked
    • Joined on 11-23-2006, 11:01 AM
    • India
    • Posts 6

    renaming url like .htaccess

    Hello great minds there at Microsoft,

    I don't know my request is proper or not, 

    Or already having answered with newer version

     

     There should be configuration of renaming url (like .htaccess in apache ), with our IIS

    Is it possible with IIS, please forgive if It is unusual demand..
     

  • 12-19-2006, 7:23 PM In reply to

    Re: renaming url like .htaccess

    Hey-

    You can certainly setup redirection per application in IIS.  There is a metabase property that allows you to setup redirection however you like.  The details on how to do this (albeit for a website, it can also apply at lower levels like vdirs, etc.) is covered in the following Setting up Website Redirection.  I also like David's blog on the topic and should be able to help you.

    If this doesn't really help, please let me know -

    Thanks,

    ~Chris
    Former Program Manager
    IIS Product Unit (Microsoft)
  • 04-07-2008, 1:31 PM In reply to

    Re: renaming url like .htaccess

    I suggest using ASP code, the entire file would look like this:

    <HTML><BODY><%@ Language=VBScript %>
    <%Response.Status="301 Moved Permanently"
    Response.AddHeader "Location",http://www.idautomation.com/aspbarcode/%>
    </BODY></HTML>

    Works great for us, and you never have to worry about configuring IIS.

     

Page 1 of 1 (3 items)
Page view counter