Virtual Directory Permissions
Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=11265
Printed Date: 31 March 2026 at 6:33pm Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: Virtual Directory Permissions
Posted By: jdmajor
Subject: Virtual Directory Permissions
Date Posted: 22 July 2004 at 7:27pm
I installed IIS on my Win XP Pro computer. I set up a Virtual Directory
called 1Web and input the path which is c:\1web. This directory has web
directories for clients and myself.
I can use my browser and type http://localhost/1web/
and it will give me a list of all of the subdirectories, however, when
I try to access them I get a message that I am not authorized to access
them. If I have a default.asp in any of the subdirectories, it will
open that file, but on my other computer which used an upgrade to XP
pro, I was able to access .asp, .js, html, etc. all of the files except
images, in each subdirectory.
This is driving me crazy. Does anyone have a solution to fix this so I can access any and all web pages.
Thanks in advance.
jdmajor
|
Replies:
Posted By: dpyers
Date Posted: 22 July 2004 at 8:27pm
Go into control panel - IIS and from there, navigate to the virtual directory under your root web. Right-click on the web and look at properties. It probably only has default.asp set up as a default. You can add others. Also check that IUSR_xxx has permissions for the virtual directory.
-------------
Lead me not into temptation... I know the short cut, follow me.
|
Posted By: jdmajor
Date Posted: 22 July 2004 at 9:02pm
dpyers
Thanks for responding. when right clicking on my virtual directory and
choosing properties, IUSR_xxxx definitely has premissions for the
virtual directory and I have listed these documents in the "Enable
Default Documents" " index.html, default.html, index.asp, and
default.asp.
going to my localhost/directory/
will show a list of all the subdirectories, but when I click on one of
the subdirectories (all of them have index.html files in them), I get
the "You don't have permission" message.
It should work, but it doesn't and no matter what I search for in the
IIS section of Administrative Tools, I can't find how to fix this
problem.
jdmajor
|
Posted By: jdmajor
Date Posted: 22 July 2004 at 9:33pm
I just realized that I had forgotten to put a "\" after the path to my
virtual directory (c:\virtualdirectory\. Now, it will open up any of my
web pages I have in my subdirectories. One bug still to fix, using
localhost, the pages now come up, but are not including any images. If
I just keep working with it, I will figure out how to get the pages to
include the images.
Thanks dp for your help.
jdmajor
|
Posted By: Semikolon
Date Posted: 23 July 2004 at 10:14am
try to set the permission directly in c:\1web\
you may have to disable simple filesharing in folder options/settings/alternartives (not sure what it is called in english)
|
Posted By: jdmajor
Date Posted: 23 July 2004 at 2:03pm
Hi Semikolon
I checked the Tools/Folder Options and yes, the "Allow Simple File
Sharing (recommended) was checked. I did uncheck it per your
suggestion. What difference would that make?
Even though I can now go to http://localhost/1web and view any of the
files in any of those directories, I am experiencing these problems:
1. The web pages are not showing the entire web page, they just show about the last 1/4 of each page.
2. No images are showing up on the web pages.
jdmajor
|
Posted By: dpyers
Date Posted: 23 July 2004 at 2:22pm
|
That last quarter of page thing is troublesome. Is anything ahead of it when you "View Source"?
Check the href's used for the images in the view source. Are they full paths or relative urls - something like "C:/1web/images/myimage.jpg" or like "../images/myimage.jpg" ?
You may also want to check your AV program and make sure script blocking is disabled and perhaps disable the AV program entirely and see what happens.
-------------
Lead me not into temptation... I know the short cut, follow me.
|
Posted By: jdmajor
Date Posted: 23 July 2004 at 8:03pm
dp
I cannot pull up a view source in Mozilla, but I was able to do so with
IE. The page source shows that the page starts approx. 3/4 down of the
original web page, exactly what the accessed page displays in my
browser.
I also notice that when I access the page using both browsers, the page
doesn't completely load and my curser shows "busy", however, no matter
how long I wait, the page doesn't completely load on either browsers.
The images paths are the short ones "images/balloon.jpg", etc. on all
of the images, however, when I accessed one of my pages that has the
full path for all images and other pages, the problem still is the
same, only the 3/4 of the page is shown and no images.
What you mean by AV program, my mind seems blank right now.
jdmajor
|
Posted By: Mart
Date Posted: 24 July 2004 at 3:25am
|
He means disable your anti virus program e.g. Norton Antivirus
|
Posted By: dpyers
Date Posted: 24 July 2004 at 5:54am
|
Getting lost on this one.
Do you get the same thing if you do
Start | Settings | Control Panel | Administrative Tools | Inet Infiormation Services
then from the IIS MMC, navigate to a file in the virtual directory, right-click on it, and select "Browse" ?
Check out the news group news:microsoft.public.inetserver.iis - news:microsoft.public.inetserver.iis as well
-------------
Lead me not into temptation... I know the short cut, follow me.
|
Posted By: jdmajor
Date Posted: 24 July 2004 at 2:35pm
|
Do you get the same thing if you do
Start | Settings | Control Panel | Administrative Tools | Inet Infiormation Services
then from the IIS MMC, navigate to a file in the virtual directory, right-click on it, and select "Browse" ?
Yes, I get the exact same thing. Shutting down my AV and accessing
to the virtual directory, I click on a file and it comes up exactly
like it's done up to now, and again, the file doesn't completely load,
the cursor shows busy.
I really appreciate all the help and support from this group. Thank
you very much. I'm sorry this problem doesn't want to cooperate. I will
try the microsoft.
|
Posted By: jdmajor
Date Posted: 24 July 2004 at 2:52pm
I am wondering if there is something I omitted when installing IIS, or
perhaps I changed an option. I am going to restore my computer to a
previous restore point before I installed, and see if this can make a
difference.
|
|