Skip to main content
Participant
August 6, 2020
Question

Access Web Files on Different Drive than Apache Server

  • August 6, 2020
  • 1 reply
  • 531 views

I recently had to move from a Solaris box to a windows box. Using Wamp we installed everything on the C Drive but all of our web content was moved to the D drive. When trying to connect DW using SFTP we can't seem to get it to recognize that the root of the site is on D:/www. When we connect in DW we see it going to C:/users/dwuser not to our www. We edited the httpd.conf to have D:/www as our RootDirectory.

DocumentRoot "d:/www"
<Directory "d:/www/">

 

Anything to look at would be helpful. We have tried many ways to get to the files on D but seem to always end up on the C drive of the server.

    This topic has been closed for replies.

    1 reply

    Nancy OShea
    Community Expert
    Community Expert
    August 6, 2020

    Your DW site definition determines where your local site files reside.  That's the same drive for ALL files and data and is often the same drive on which DW is installed.    In this example, my local site root resides inside my testing server on the primary HD.

     

     

     

    Nancy O'Shea— Product User & Community Expert
    mjwsr1Author
    Participant
    August 6, 2020

    Not sure I explained myself well enough. I am talking about my connection to the remote server. Wamp is installed on the C drive of the remote server: 

     

    The actual site pages are stored on the D drive of the remote server.

    The local folder on my machine that I edit the pages from is fine:

    It's the connection to the remote server that I can't get to the WWW folder on the remote. Only the C:/user/dwuser/

     

    Server Setup:

    Produces the error:

    I know I haver permission to the directory on the server because I can use Putty and access the main www and all sub-directories.

     

    Have never had this issue before and not sure if something is missing in a .conf file or what.

     

    Nancy OShea
    Community Expert
    Community Expert
    August 6, 2020

    My remote servers are on commercial web hosts like Host Labs and AWS. 

     

    Nancy O'Shea— Product User & Community Expert