|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Default Web Site access to wwwroot folder
In IIS, I have the Default Web Site pointing to the directory c:/Inetpub/wwwroot/App1. I want to keep it that way. However, when I type in the machine's IP in a browser from an external computer, there's a list of files and directories in the c:/Inetpub/wwwroot/App1 folder, and I also want access to the directories and files in c:/Inetpub/wwwroot/. How can I accomplish this?
|
|
#2
|
||||
|
||||
|
Create Virtual Directories under the default site that map to the other directories you want to view.
|
|
#3
|
|||
|
|||
|
In addition, you may need to grant the IIS user account permissions to the folder (normally IUSR_computername)
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#4
|
|||
|
|||
|
Quote:
Thanks. I just did that, and set the IUSR security permissions. However, the folder is still not visible when I access the site on the browser. Is there anything else that I may be missing? |
|
#5
|
|||
|
|||
|
You will need to create a new site and set the host header to be blank.
On your current site set the host header to be the domain name. This means that when you use a domain name you will goto c:/Inetpub/wwwroot/App1 but if you use the IP (no host header) you will goto c:/Inetpub/wwwroot/ If you are using XP then you can only have one site so you cannot do this. You could go the virtual folder way as stated previously.
__________________
CyberTechHelp |
|
#6
|
|||
|
|||
|
I've gotten it taken care of. I realized I can access the other folders in wwwroot, even if it's not listed in the directory listing. Thanks for the help.
|
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > Default Web Site access to wwwroot folder |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|