• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Access Web Files on Different Drive than Apache Server

New Here ,
Aug 06, 2020 Aug 06, 2020

Copy link to clipboard

Copied

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.

Views

404

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 06, 2020 Aug 06, 2020

Copy link to clipboard

Copied

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.

 

Local Site in Local Testing ServerLocal Site in Local Testing Server

Servers > Basic TabServers > Basic Tab

 

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 06, 2020 Aug 06, 2020

Copy link to clipboard

Copied

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: 

 

mjwsr1_0-1596753550244.png

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:

mjwsr1_1-1596753856658.png

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/

mjwsr1_4-1596754413614.png

 

Server Setup:

mjwsr1_2-1596754189678.png

Produces the error:

mjwsr1_3-1596754252071.png

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.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 06, 2020 Aug 06, 2020

Copy link to clipboard

Copied

LATEST

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

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines