• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 811
  • Last Modified:

File share access over Intranet

We run an Intranet web site, Field.company.com on our 010 Windows 2003 Server that is accessible to any users on our network.
On this web site there is a page that lists out the contents of a file share from our 001 Windows 2003 Server.

We want the user to be able to click a link to a file on that file share server and be able to open it in their browser.
We have tried creating links to file:\\001\share\file.txt
We have tried creating a VirtDir in IIS under that Intranet web site, pointing to \\001\share\ authenticating both as a domain user account and even now as an admin account
Any way we do it, when we go to http://field.company.com/files/test.txt file, we get a 404 error message?

Any thoughts?
Our developers swear this used to work... but it "just stopped" now?

Thanks all!
0
jn148
Asked:
jn148
  • 2
1 Solution
 
JanSchotsmansCommented:
Making links to \\001\share\file.txt should work.

With the virtual directory approach, if you use IIS6 or higher, you'll have to allow the content to be loaded in the IIS configuration.

0
 
jn148Author Commented:
Thanks for the quick response Jan - but can you elaborate a bit on the "allow the content to be loaded in the IIS configuration." ?
0
 
JanSchotsmansCommented:
IIS 6 by default blocks just about everything from being served on it, other then plain HTML pages.




    * Open IIS Manager.
    * Right click the folder where the exe-files are located and click Properties.
    * Click the "HTTP Headers" tab
    * Click on the "MIME Types" button
    * Click New
    * In the extension box, type the extension you need to serve (exe etc)
    * In the MIME Type box, type application/octet-stream
    * Apply the new settings

Open in new window

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now