PDA

View Full Version : Odd Default Document in IIS App


Horus_Kol
08-12-2005, 04:49 AM
We go this little application to integrate some of our company's functionality into a web view - it has been developed by a team in Switzerland, and so I am not sure exactly what and why they have done.

anyway, when we install the app, it automatically creates a virtual directory in IIS and sets up permissions and stuff - fine so far.

however, when we look at the default document, it is pointing at a .url file in the webfolder... I can't see how this would work (in fact, I don't think it does, but as I've had to do a few other bits of jiggery involving permissions to certain databases, as well as changing the defaul document, I can't prove it)...

what do you guys think?

ddsvi
10-13-2005, 11:31 PM
Here is a little info on what a .url file is. It looks like it is just a shortcut. But you can copy drag the .url file and drop it in notepad to see the contents of the .url file. Maybe that will help you see what that file is actually doing.

http://filext.com/detaillist.php?extdetail=.url

Horus_Kol
10-14-2005, 03:31 AM
I know what a .url is - i'm just asking if it anyone has had one as a default document in IIS, and if it worked...

afterburn
11-29-2005, 03:26 PM
No i have not. But IIS will serve any file type, if it doesn't know the mime type then it will serve it will an Application/octsteam mime type.

Horus_Kol
11-30-2005, 02:38 AM
oh... it doesn't work...

i've done many subsequent installs since i first posted this question - and you get a 403 error when you have a .url as a default document.

yet another way that my parent organisation can mess up and cause me hassle/grief/work...

afterburn
11-30-2005, 08:54 AM
403 is an client error sort of asking for 404, File not found...