CipherIS
asked on
IIS7 - Displaying websites
I have a web server. I added two website to it. The issue I have is that I can see the directories as well as the websites. Example below:
mywebsite.com
- Website1
- Directory for Website 1
- Direcotry for Webiste 2
- Website 2
I do not want to see "Directory for Website1" or "Directory for Website 2" displayed. I have mywebsite.com pointing to: "C:\websites\mywebsite.com ".
Thanks
mywebsite.com
- Website1
- Directory for Website 1
- Direcotry for Webiste 2
- Website 2
I do not want to see "Directory for Website1" or "Directory for Website 2" displayed. I have mywebsite.com pointing to: "C:\websites\mywebsite.com
Thanks
ASKER
Directory browsing is disabled. The issue is that the websites that I am putting under:
C:\websites\myorders.net
are displaying in my IIS7 -> myoders.net. I only want to see the websites listed not any the application folders. (The application folders are the ASP.NET websites but don't want to see them just the Applications)
I've attached a snapshot. I don't want those 2 dirs displayed in IIS7 which is diff than directory browsing I believe.
IIS7.jpg
C:\websites\myorders.net
are displaying in my IIS7 -> myoders.net. I only want to see the websites listed not any the application folders. (The application folders are the ASP.NET websites but don't want to see them just the Applications)
I've attached a snapshot. I don't want those 2 dirs displayed in IIS7 which is diff than directory browsing I believe.
IIS7.jpg
I am confused about your reasoning.. these folders exist, therefore they are displayed? They are not displayed to the web browser
ASKER
The folders display in IIS7. Example IIS has www.myweb.com. I put the code in a folder called "mycode" in the website dir on the server. I can then go to www.myweb.com/mycode which I should not be able to do. I am unable to right click and delete. Also, in the website dir I create mydir2 and it shows up in IIS7 under www.myweb.com. Then i can go to URL www.myweb.com/mydir2.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If your your really new at setting up iis 7, you probably just have Directory Browsing Enabled on IIS 7. There are 2 ways I know of to change that setting so I am providing you with links to both the guides for from microsoft's support website.
If you have access to the IIS Administrator through your control panel, use this guide.
Enable or Disable Directory Browsing in IIS 7
If you do not have access to the IIS Administrator, see if you can find a file named web.config in your website's root folder C:\websites\mywebsite.com.
How to enable directory browsing with IIS7 web.config
I hope this helps!