Solved

How to unshare wwwrooot

Posted on 2006-06-08
8
480 Views
Last Modified: 2008-01-09
Hello.  I have "web-shared" my "wwwroot" directory.  I can't seem to "unshare" it, though.  It continues to revert to "share".  I can unshare all my other folders, but not "wwwroot".

Please help.

Thank you,
Shane
0
Comment
Question by:lshane
  • 4
  • 2
8 Comments
 
LVL 1

Accepted Solution

by:
Zungery earned 250 total points
ID: 16865601
I believe wwwroot is the default directory for IIS and other HTTPD's to have your virtual site stored. If you are running a HTTPD that could possibly be the reason. To test this, change the directory in which your website is stored, reboot IIS / the machine, and try and unshare. After that check to see if the new directory you changed it to is being shared. If it is, there may be an option within the HTTPD to turn that off.
0
 
LVL 54

Assisted Solution

by:b0lsc0tt
b0lsc0tt earned 250 total points
ID: 16865611
lshane,

I am not sure that I understand what you mean by "web-shared."  If you mean that you have IIS running and http://localhost in your browser responds with pages and will run scripts then you can stop IIS to fix that.  Internet Information Services (IIS) is found in the Services area in Administrative Tools or Computer Management.  It can be stopped from there as well.

If I misunderstood your question then please clarify it.  If you need more information or details about the information above then please let me know.

b0lsc0tt
0
 

Author Comment

by:lshane
ID: 16865842
Hi.  Yes I have XP Pro and I installed IIS.  For various reasons, I tried to "Web-share" the directoris of:  Inetpub, wwwroot, and my site directory.

If you right-click on the folder and select "properties", there are 4 choices:  General, Share, Web-Share, and Customize.  I selected "web-share" and then selected the option to "Share This Folder".  I did that for all the above-listed directories.  I then needed to "unshare" all of them.  I could unshare "Inetpub" and my own site directory listed underneath "wwwroot", HOWEVER, I could not unshare "wwwroot".  I right-clicked the "wwwroot" folder and selected "properties".  I then selected the "web-share" tab and tried to select "Do not share this folder" (as I did for the other 2), but it reverted to "Share this folder".  I rebooted the PC and tried again, but had the same problem.

Hopefully this will provide a little clarity.

Thank you so much,
Shane
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:lshane
ID: 16873395
Well, I uninstalled the IIS components, rebooted, and reinstalled.  Then, I copied my site directory back to "wwwroot", and all is accessible now.

Now I have another issue of uploading an image and inserting the path into the database.  The image uploads and creates a folder with its part number, but the data from the form is not being inserted in the database.

This is another issue, however, so I will post another thread.

Thanks for your input.

I'll split points for you.

Shane
0
 

Author Comment

by:lshane
ID: 16873410
Sorry, I inadvertently just opted to "Accept".  I apologize.  I don't know how to reverse that.
0
 

Author Comment

by:lshane
ID: 16874941
Thank you.
0
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 16874947
Thanks for the extra effort to split the points.  I'm glad I was able to help and nice to see it appreciated.  Thank you for the grade, the points and the fun question.

bol
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Disclosure: Use this tutorial only when no other options helps to get Windows XP running without any problems and you don't want to format the drive. The back up of the data is the responsible of the user, however there is a description of how t…
Are you unable to synchronize your OST (Offline Storage Table) file with Microsoft Exchange Server? Is your OST file exceeding 2 GB size limit? In Microsoft Outlook 2002 and earlier versions, there is a 2 GB size limit for the OST file. If the file …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

762 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now