1. Post #1
    Bloody_teers's Avatar
    December 2009
    132 Posts
    Ok so my friend is having some issues, he has his own server and is trying to make a website however he can't figure out how to access another drive through html on the server.

    For those who don't get what I'm saying it is something like this:

    website = drive E:/ and stuff to download is on drive F:/

    If he can't do it with html he needs to find away to link the drives using his one server. Anyone know what to do?

  2. Post #2
    Gold Member
    andersonmat's Avatar
    May 2008
    2,607 Posts
    HTML is rendered client side. It'd have to be in PHP.

    Edited:

    Or any other server side language for that matter.

  3. Post #3
    He's not going to be able to serve anything outside the web root via HTML.

  4. Post #4
    turb_'s Avatar
    February 2010
    2,202 Posts
    Hey OP, learn how the web works then come back kthx
    Reply With Quote Edit / Delete Reply United Kingdom Show Events Dumb Dumb x 1 (list)

  5. Post #5
    Gold Member
    DEADBEEF's Avatar
    March 2005
    582 Posts
    Edit your apache/IIS config to add an alias to the other drive, or create an NTFS junction or symbolic link from the data drive to a directory under the web root.

    For an easy way to create junctions & symbolic links I'd suggest installing this shell extension

  6. Post #6
    Moderator
    Ninja101's Avatar
    December 2008
    740 Posts
    IIS: Virtual Directory
    Apache: Vhosts

    Solved :3:
    Reply With Quote Edit / Delete Reply United Kingdom Show Events Friendly Friendly x 1 (list)