Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Virtual Directory Permissions
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Virtual Directory Permissions

 Post Reply Post Reply Page  12>
Author
jdmajor View Drop Down
Newbie
Newbie
Avatar

Joined: 22 July 2004
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote jdmajor Quote  Post ReplyReply Direct Link To This Post Topic: Virtual Directory Permissions
    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
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
jdmajor View Drop Down
Newbie
Newbie
Avatar

Joined: 22 July 2004
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote jdmajor Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
jdmajor View Drop Down
Newbie
Newbie
Avatar

Joined: 22 July 2004
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote jdmajor Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Semikolon View Drop Down
Senior Member
Senior Member


Joined: 09 September 2003
Location: Norway
Status: Offline
Points: 1718
Post Options Post Options   Thanks (0) Thanks(0)   Quote Semikolon Quote  Post ReplyReply Direct Link To This Post 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)
Back to Top
jdmajor View Drop Down
Newbie
Newbie
Avatar

Joined: 22 July 2004
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote jdmajor Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
jdmajor View Drop Down
Newbie
Newbie
Avatar

Joined: 22 July 2004
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote jdmajor Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.