SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    SitePoint Zealot
    Join Date
    Jun 2002
    Location
    Dubai
    Posts
    152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    IIS console problem.. easy one, pls help

    i have my web publishing folder set to wwwrooot
    the directory structure is as follows
    c:\
    c:\Inetpub
    c:\Inetpub\department1
    c:\Inetpub\department2
    c:\Inetpub\department3
    c:\Inetpub\department4
    c:\Inetpub\wwwroot
    c:\Inetpub\wwwroot\index.htm

    my index.htm has links to files in c:\inetput\department\somefile.htm

    its working file on my preview mode of the html editor

    but, when i am trying from Localhost, it says page not found.
    but, if i open my wwwroot\index.htm from the folder view, its fine and perfect

    i think, that some settings on IIS console has to be done..
    whts to be done

    the linking has been done correctly as
    <a href="../department1/somefile.htm">click here</a>

  2. #2
    Apache Expert i_like_php's Avatar
    Join Date
    Nov 2001
    Location
    Dallas, Texas
    Posts
    1,342
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    so what exactly are you trying to do i'm a bit confused
    i love php

  3. #3
    SitePoint Zealot
    Join Date
    Jun 2002
    Location
    Dubai
    Posts
    152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i am trying to view the localhost page... and its fine, but not the link to department1 folder files.

  4. #4
    SitePoint Enthusiast
    Join Date
    Dec 2001
    Location
    Romania
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try to create virtual directories that point to c:\inetpub\departmentX

  5. #5
    SitePoint Zealot
    Join Date
    Jun 2002
    Location
    Dubai
    Posts
    152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    and how do i make a virtual directory website???

  6. #6
    SitePoint Enthusiast
    Join Date
    Dec 2001
    Location
    Romania
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    To create a vrtual directory, let's say 'deparmentX', follow the steps:
    1. open IIS console
    2. expand Default Web site tree
    3. right click on Default Web Site, then select New
    4. select Virtual Directory option
    5. Type an alias as required by wizard, in this case 'departmentX', click Next
    6. type the directory name, in this case 'c:\inetpub\departmentX'
    7. Follow the next steps required by wizard (usually leaving default settings)
    You're done, now you can acces the it through http://localhost/departmentX

    Hope this helps!

  7. #7
    SitePoint Zealot
    Join Date
    Jun 2002
    Location
    Dubai
    Posts
    152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i got it guys
    no need now

    all i had to do, is right click the departmentX folder, say properties, and share the folder onto web..

    thats it

    i forgot that part
    sowwie!!

    tkae care guys, and thanx agian!

  8. #8
    SitePoint Enthusiast
    Join Date
    Dec 2001
    Location
    Romania
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sharing the folder on the web is doing the virtual directory for you, you find it in the Default Web Site tree in IIS console.

  9. #9
    SitePoint Zealot
    Join Date
    Jun 2002
    Location
    Dubai
    Posts
    152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanx sleepless

    i got that one
    and, its working!!!

    idint know that sharing is the same as a virtual directory
    in other words, i knew, but forgot about it!!!

    thanx ppl!!!!!!!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •