Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

IIS7 - Displaying websites

Posted on 2012-04-06
6
311 Views
Last Modified: 2012-04-12
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".

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.
0
Comment
Question by:CipherIS
  • 2
  • 2
  • 2
6 Comments
 
LVL 17

Assisted Solution

by:Anuroopsundd
Anuroopsundd earned 333 total points
ID: 37818307
after disabling directory browsing... restart iis
iisreset
0
 
LVL 17

Assisted Solution

by:Anuroopsundd
Anuroopsundd earned 333 total points
ID: 37818309
you can even try to uninstall the feature of Directory Browsing.

http://www.iis.net/ConfigReference/system.webServer/directoryBrowse
0
 
LVL 5

Expert Comment

by:kollenh
ID: 37824778
I don't see your attached snapshot but if I'm following what you're saying, you see those directories listed under the IIS 7 management console.  Yeah, you will; there isn't a way to turn that off.  That doesn't mean, however, that the directories are visible or accessible externally.  You see it in the management console because it is showing you the physical directory structure.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 1

Author Comment

by:CipherIS
ID: 37830791
it is accessible which raised the issue.
0
 
LVL 5

Accepted Solution

by:
kollenh earned 167 total points
ID: 37833235
So from a client computer, you can browse to 'http://your-website/directory-name' and see the contents?  If so Directory Browsing *must* be enabled.  Double check it's disabled for the site and then also make sure the web.config isn't overriding the server.  Or do as Anuroopsundd suggested and uninstall the feature.

If it's completely disabled and you're sure the directory can be accessed via URL from another computer, I suggest opening a case with Microsoft as that shouldn't be possible.  I'm only doubting because I saw the screenshot in a different post and that was from IIS Manager; as I stated, it *will* be visible there and doesn't have anything to do with Directory Browsing or being externally accessible.

HTH
0
 
LVL 1

Author Closing Comment

by:CipherIS
ID: 37838412
Prob is not resolved.  Closing question.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question