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

Access Web Files on Different Drive than Apache Server

New Here ,
Aug 06, 2020 Aug 06, 2020

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.

486
Translate
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

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 Serverexpand image

Servers > Basic TabServers > Basic Tabexpand image

 

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
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

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.pngexpand image

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.pngexpand image

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.pngexpand image

 

Server Setup:

mjwsr1_2-1596754189678.pngexpand image

Produces the error:

mjwsr1_3-1596754252071.pngexpand image

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.

 

Translate
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
LATEST

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

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
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