Hi, i'm very new with php and i'm making a website that can browse a server for some documents. Now it works just fine if the documents/folders are under /wwwroot (using IIS), but if i want to look for folder like c:\document, it works on the server machine, but not on other machines. So this requires a virtual directory for the path. so i go and make a alias document directory of c:\document, this seems to work on some extent, but if i make many subdirectories in that and make a virtual dir of it like c:\document\stuff\morestuff\evenmorestuffhere it doesn't work anymore. Anyone with similar problems? Would really appreciate some help here. thanks...
-mleskine
Virtual directories?
Moderator: General Moderators
Re: Availabilty with IIS
You use the MMC console IIS snap-in to administer your web site. (iisadmin.msc) Right click the website and use the wizard under All Tasks, Create Virtual Directory, in order to make sure you set things up correctly. You must make sure users have both IIS permissions and NTFS permissions in order to use the virtual folder. It would be best to locate any directories under the root IIS directory, which for security should be renamed to somethig other than wwwroot (see the website properties).
BTW, I sincerely hope this is a intranet web server, opening up virtual directories for file sharing on the NET, without a VPN firewall, is very dangerous. That is what the role of a file server is for.
-Hope this helps
BTW, I sincerely hope this is a intranet web server, opening up virtual directories for file sharing on the NET, without a VPN firewall, is very dangerous. That is what the role of a file server is for.
-Hope this helps