Solved

File share access over Intranet

Posted on 2008-10-09
5
752 Views
Last Modified: 2012-05-05
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
Comment
Question by:jn148
  • 2
5 Comments
 
LVL 6

Accepted Solution

by:
JanSchotsmans earned 250 total points
ID: 22677894
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
 

Author Comment

by:jn148
ID: 22677978
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
 
LVL 6

Expert Comment

by:JanSchotsmans
ID: 22682008
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

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Learn about cloud computing and its benefits for small business owners.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now