Accessing a Windows share via Apache on FC5
OK... here's the situation: I would like to make a share on a Windows machine accessible to the Internet via Apache installed on a Linux server.
I have a Windows machine (let's call it "winserver"). On winserver, there is a share (winshare). I also have a Linux server (linuxserver) running Fedora Core 5 with Apache 2.2.
I have mounted winshare on linuxserver as /path/to/share/winshare
When I run ls -l on /path/to/share/winshare, I see the files on \\winserver\winshare:
I have then created a symlink in /var/www/html called winshare that points to /path/to/share/winshare.
[root@linuxserver winshare]# pwd
[root@linuxserver winshare]# ls -l
-rwxrwSrwt 1 root root 16352616 Apr 16 15:25 2006_03_12_1030am.mp3
-rwxrwSrwt 1 root root 13687296 Apr 16 15:27 2006_07_16_1030am.mp3
-rwxrwSrwt 1 root root 24576 Apr 16 17:01 2006_08_13_1030am.mp3
-rwxrwSrwt 1 root root 15086232 Apr 16 17:04 2006_08_27_1030am.mp3
-rwxrwSrwt 1 root root 8192 Apr 16 17:04 2006_09_17_1030am.mp3
-rwxrwSrwt 1 root root 15563184 Apr 16 17:07 2006_10_15_1030am.mp3
-rwxrwSrwt 1 root root 14594160 Apr 16 15:20 2007_03_18_1030am.mp3
-rwxrwSrwt 1 root root 31718271 Apr 16 14:42 2007_04_15_1030am.mp3
-rwxrwSrwt 1 root root 16 Apr 18 16:49 New Text Document.txt
Then I can go to http://linuxserver/winshare, and I can see the Apache directory listing from \\winserver\winshare.
Here's the problem: From a remote PC, I can download from http://linuxserver/winshare any ASCII files in the directory, but not binary files. If the file is binary the download simply fails with no explanation. (Firefox says "Starting download..." and then "Done" (instantly) with no resulting file). I can save and view ASCII files (ie, New Text Document.txt) just fine and there are no issues with line breaks.
If I copy one of the binary files to say, /var/www/html/test/2007_04_15_1030am.mp3, I can go to http://linuxserver/test and download the file fine.
I'm trying to conserve space on linuxserver and the files on \\winserver\winshare are quite large, so putting them on linuxserver is not an option. I also do not want to install Apache on winserver as winserver is in production use and needs to have as much free RAM as possible and that just doesn't seem like the right way to do it....
I've Googled and searched and cannot find a similar problem... any ideas?