Previous Next

Thread: Virtual Directories pointing to the same folder

Last post 07-21-2008 9:15 AM by tomkmvp. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 07-18-2008, 10:41 AM

    • Cris08
    • Not Ranked
    • Joined on 03-05-2008, 2:34 AM
    • Somerville, NJ
    • Posts 5

    Virtual Directories pointing to the same folder

    Hello there, 

     I am trying to change the alias for a virtual directory. Right now we have virtualDir1 and I want to make it into login. While I was able to create a new virtual directory on my site called "login", right after I log in, the old name is back so it looks like this: virtualDir1/list.asp. Is that happening because I have two virtual directories set up that are pointing to the same directory? Is there a way to change that without deleting the original one?

     Thanks! 

  • 07-18-2008, 2:47 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Lawrenceville, NJ
    • Posts 4,070
    • IIS MVPs

    Re: Virtual Directories pointing to the same folder

    Cris08:
    Is that happening because I have two virtual directories set up that are pointing to the same directory?
    No - it's perfectly OK to have this. Is it possible that you have code or another link somewhere that redirects back to virtualDir1?

  • 07-18-2008, 3:19 PM In reply to

    • Cris08
    • Not Ranked
    • Joined on 03-05-2008, 2:34 AM
    • Somerville, NJ
    • Posts 5

    Re: Virtual Directories pointing to the same folder

     Now that is going to be an interesting investigation...I will look for that, but I really cannot think of where or why we would have a link back to virtualDir1. I wonder what would happen if I just deleted  virtualDir1.

  • 07-18-2008, 4:28 PM In reply to

    • Cris08
    • Not Ranked
    • Joined on 03-05-2008, 2:34 AM
    • Somerville, NJ
    • Posts 5

    Re: Virtual Directories pointing to the same folder

     I guess that I forgot to mention that the virtual directory is pointing to an application.

    I created a new website and added that virtual dir and now when I enter the log in info it goes back to the main site where VirtualDir1 is.  It looks as if I should not be creating multiple directories for that application.

  • 07-21-2008, 9:15 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Lawrenceville, NJ
    • Posts 4,070
    • IIS MVPs

    Re: Virtual Directories pointing to the same folder

    It shouldn't matter - but I'm not really sure what's going on.  Can you delete all the existing vdirs and start again?

Page 1 of 1 (5 items)
Page view counter