Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. IIS 6.0 Virtual Directory

IIS 6.0 Virtual Directory

Scheduled Pinned Locked Moved ASP.NET
questioncomwindows-admin
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Civic06
    wrote on last edited by
    #1

    I have a website called abc. I created a virtual directory pointing to this folder. This folder also contains a admin folder. I want users to access as follows: abc.com should take them to default.aspx in the main folder. abc.com\admin should take them to the default.aspx folder in admin folder. How can i achieve this?

    S S 2 Replies Last reply
    0
    • C Civic06

      I have a website called abc. I created a virtual directory pointing to this folder. This folder also contains a admin folder. I want users to access as follows: abc.com should take them to default.aspx in the main folder. abc.com\admin should take them to the default.aspx folder in admin folder. How can i achieve this?

      S Offline
      S Offline
      Sherin Iranimose
      wrote on last edited by
      #2

      create a virtual directory admin pointing to your admin folder in the main directory. Set the default(say default.aspx) page for newly created folder.

      1 Reply Last reply
      0
      • C Civic06

        I have a website called abc. I created a virtual directory pointing to this folder. This folder also contains a admin folder. I want users to access as follows: abc.com should take them to default.aspx in the main folder. abc.com\admin should take them to the default.aspx folder in admin folder. How can i achieve this?

        S Offline
        S Offline
        Sunil Wise
        wrote on last edited by
        #3

        first, create virtual directory for abc by right-clicking on the default website in your iis. here in documents tab move default.aspx to top. Then right-click on the virtual directory abc which you have just created and select new--> virtual directory-->alias name admin-->give tha path and so on. right click admin VD to select properties in the documents tab move default.aspx to top this may help u Regards sunilwise

        C 1 Reply Last reply
        0
        • S Sunil Wise

          first, create virtual directory for abc by right-clicking on the default website in your iis. here in documents tab move default.aspx to top. Then right-click on the virtual directory abc which you have just created and select new--> virtual directory-->alias name admin-->give tha path and so on. right click admin VD to select properties in the documents tab move default.aspx to top this may help u Regards sunilwise

          C Offline
          C Offline
          Civic06
          wrote on last edited by
          #4

          Thanks! I am getting the following error: there is a master page in admin folder called admin.master. another page called x.aspx is inheriting from the master page which causes this to appear: modified on Friday, July 25, 2008 11:53 AM]]>

          S 1 Reply Last reply
          0
          • C Civic06

            Thanks! I am getting the following error: there is a master page in admin folder called admin.master. another page called x.aspx is inheriting from the master page which causes this to appear: modified on Friday, July 25, 2008 11:53 AM]]>

            S Offline
            S Offline
            Sunil Wise
            wrote on last edited by
            #5

            Civic06 wrote:

            now there is a problem because the path is this: abc/admin/admin/Admin.master which obviously doesn't exist. i can modify the MasterPageFile but it causes a problem when i want to compile and debug on my local machine.

            i think u have created second virtual directory under admin folder.The second VD you should create under VD abc Regards sunilwise

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups