Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I have WAMP set up on my personal PC. What I am trying to do is on the Apache server have a website that is built with PHP and a MySQL database to have an interactive website that has a bunch of links to video files. The problem is that I want to link to files on my PC that are outside of Apache and on a different drive. (Apache is installed on my C drive and all of the videos I'm trying to link to are on the F drive.) I want to be able to click the links on the webpage and have the videos open in a video player on my computer. If this is not possible I would move the Apache directory to my F drive to have all my videos within Apache. I tried this before but whenever I clicked a link to open in a video player the video would "download" (copy itself) into a temp folder before opening in a video player. I would want the video files just to open with a video player instantly.

2 issues here:
- How to link to files outside the webserver
- How to streamThe first can be solved by using "aliases" which in the basic form it goes like this:
Alias /tester "F:/music/"
<Directory "F:/music/">
Options Indexes Includes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
in your httpd.confEdit: don't forget to restart the server
Now, typing http://localhost/tester will open the content of F:\music\
Search for "Alias" in httpd.conf and there might be other aliases set by WAMP, which you can use as a "template"
Or you can of course (as you've done) move the music files into the webserver.
--
Streaming is a little bit more. You need to use some server-side scripting to:
- grab the music file
- stream it out to the browserBy default, Internet Explorer will open any windows media player readeable files in the windows media player.
What's your browser? And your "video player"?
If you're really going to do a real "streaming", then look at these links for a start:
http://www.computing.net/webdevel/w...
http://ils.unc.edu/~koyam/video/how...---
Fubar

Thanks for the quick response, Fubar. I've been using Firefox as a primary browser. For most of my video files I've been using VLC, but I also have files that need to use RealPlayer, Windows Media Player, QuickTime, and a program called Zoom Player.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |