Solved

How to unshare wwwrooot

Posted on 2006-06-08
8
503 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

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…
Migration of Exchange mailbox can be done with the ExProfre.exe tool. But at times, when the ExProfre.exe tool migrates the Exchange Server user profile, it results in numerous synchronization problems. Synchronization error messages appear in the e…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

809 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