tags:

views:

28

answers:

0

For space reasons, we need to move some files off our main file/webserver to another network fileserver. However, the original file/webserver is still responsible for providing access to these files, so that everything is seamless to the users.

I can provide transparent file access by using DFS on the original server. I can also provide transparent web access using an IIS Virtual Directory.

However, Perl CGI scripts running on the webserver can't access the new (remote) fileserver using UNC paths. This code snippet:

if (-e "\\\\server\\share\\file") { print "Found it\n"; }
else { print "Not found\n"; }

works on my local PC, but not on the webserver. I've been Googling around, and have run into similar examples, but no solutions.

Some environment info:

  • Original File/Webserver: Windows Server 2003

  • IIS: Version 6

  • IIS Authentication: Integrated Windows Authentication

  • IIS Virtual Directory: configured to use a single AD user's security credentials

  • DFS: Normal DFS link setup and working (works from outside this original fileserver, not from inside it)

Any help would be greatly appreciated!