5
Quote:
What do you mean by 'map the file respositories into the web space'? Are you referring to Virtual Directories that you set up in IIS (I am currently looking into that on iis-resources.com)? Or are you referring to something even easier?
I guess he does (and if not, Virtual Dirs should effectively do the trick), but I don't really understand why you're asking about
something easier, as those are really easy to configure.
Let's say you have your files in \\server2\share\ and want to get those accessible using the url
http://server1/ShareFiles/ ( so \\server2\share\file.ext can be accessed through
http://server1/ShareFiles/file.ext, and so on...).
- Ensure the machine running IIS also has access to \\server2\share\
- Open the IIS admin console
- Right-click on the
server1 site, and choose New/Virtual directory
- Enter the name you want for the virtual dir (in this example 'ShareFiles' )
- Enter the path to the source dir ( here: \\server2\share\ )
- Customize access permissions (I guess you only want to let 'Read' and maybe 'Browse' )
And that's it. The virtual dir should have appeared in the tree view. It there is a red icon next to it, that's because IIS got problem trying to access it (verify that the IIS user has permissions to access the share path).
skalpa.>