Page 1 of 1

Using mapped drives as virtual hosts in apache

Posted: Tue Apr 03, 2007 11:44 am
by Luke
Alright, let's say I've got two servers:

File-server (A)
stores all of our clients' data (website files, proofs, proposals, artwork, etc.)

Development/Testing server (B)
Windows 2000 Server with both IIS and Apache installed as well as mysql and php and all of my other development stuff.

The development server (B) has the file-server (A) mapped as drive X. Is it possible to use this mapped (virtual) drive as a virtual host root directory? I tried it but apache wouldn't start with this configuration:

Code: Select all

<VirtualHost *:80>
    ServerAdmin test@test.com
    DocumentRoot X:\
    ServerName webserver.mc2design.local
</VirtualHost>
Also, in a sort of related question... For some reason I am unable to map the development server's drive onto my local machine. I am really new to all things networking, so what are some things I should check when trying to figure out why I can't map this drive? I get the following error when I try to access the development server from Windows (Entire) Network from my local machine:
\\Webserver is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.

There are currently no logon servers available to service the logon request.
I am an administrator... so what could be the problem? :(

Posted: Tue Apr 03, 2007 3:47 pm
by timvw
Afaik, your webserver runs under a different account (ASPNET or NETWORKSERVICE).. And the mapping of drives is on an 'per account' basis.. (Sorry that i can't provide a solution ;) Anyway, now you know where to look)