Virtual Directory
Discussion
I'm trying to set up a sub directory on my personal website e.g www.mysite/newdirectory/ so I can access a certain file no matter where I am/what PC I'm using.
I have managed to create the new directory and put the files I want in there via FTP but when I then go into my browser and go to www.mysite/newdirectory/ I get;
Directory Listing Denied
This Virtual Directory does not allow contents to be listed.
Why is this? Is it something to do with the attributes of the directory??
I have managed to create the new directory and put the files I want in there via FTP but when I then go into my browser and go to www.mysite/newdirectory/ I get;
Directory Listing Denied
This Virtual Directory does not allow contents to be listed.
Why is this? Is it something to do with the attributes of the directory??
OK. Each Virtual Directory has a thing called a Default Document. Depending on your web-server (or even the configuration of your web-server) this could be one of a number of files.
Possibilities are:
index.html
index.htm
default.htm
default.asp
and so on.
The "Directort Listing Denied" message is appearing becausse if there is no Default Document then the web-server is supposed to dish up a list of the files in the virtual directory...and if it doesn't have permission to do so you get an error message.
Hope that's useful.
Possibilities are:
index.html
index.htm
default.htm
default.asp
and so on.
The "Directort Listing Denied" message is appearing becausse if there is no Default Document then the web-server is supposed to dish up a list of the files in the virtual directory...and if it doesn't have permission to do so you get an error message.
Hope that's useful.
OK I've created the index.htm file now (I found it) but it still does not work. I tried to right click on properties (which works) and it brings up lots of attributes;
Owner; Group; Everyone - each has options for read write execute. I change them and apply and OK but when I go back they are back to normal!!! ARRGGG!
PS Edited to say I use AceFTP
>> Edited by darrent on Wednesday 10th September 16:05
Owner; Group; Everyone - each has options for read write execute. I change them and apply and OK but when I go back they are back to normal!!! ARRGGG!
PS Edited to say I use AceFTP
>> Edited by darrent on Wednesday 10th September 16:05
You don't want to set the properties of the index.htm file. You need to change the properties of the Virtual Directory.
Don't know what o/s you are running but if its Windows 2000 you should be able to navigate to the control panel, startup Internet Information Services. You should get a list of your Virtual Directories. You can then right click on whichever it is and set the properties to either allow directory browsing or to use a default document.
Don't know what o/s you are running but if its Windows 2000 you should be able to navigate to the control panel, startup Internet Information Services. You should get a list of your Virtual Directories. You can then right click on whichever it is and set the properties to either allow directory browsing or to use a default document.
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff