html5 - How to access local directory files using WAMP server? -
i new in html programing , self-taught. found piece of software let me pre-render videos 60 fps.
i thought why not share results world. read how code in html5. created simple looking site , worked when start html5 file (videos playing). read wamp server give me opportunity share rest of world.
but everytime start wamp , try view page neither videos or tumbnails of videos load. else margins placement of players text works wamp somehow blocks every content loaded in html5 file this:
"d:/downloads/pixar short film collection........ "
.
i repeat html5 works perfect if start index file browser loaded through wamp can't load anything.
in ie10 under videos showing being blocked in chrome blank.
it works when make html5 file load video directory "www", problem me because going video library site. "c:" drive filled if knows how fix awesome. ps(one week ago had no such problem appeared. since i've been installing , uninstalling wamp, no luck)
and thing, no matter did, following every tutorial installing wamp configuring router/modem 80 port , ip forwarding nothing seems work in local network (typed ip in chrome) can't open web page. yet works, wamp green, , pc wamp installed can open page, in no other pc.
(i have prefect connection between 2 pc's because 1 can play games on other without noticeable lag, wamp server wall)
ps if going instruct me unblock port 80 in firewall have done on both pc's running win8 in both machines!
thanks in advance!
this nothing html5
apache
configuration issue.
from assume have been double clicking on index file explorer (filemanager) while develop , test site. bad idea
.
now using browser server file via apache ( not when doubleclick on filenames in explorer ) need tell apache
has access video library placed on d:\ drive.
to need configure apache
( https.conf ) know video library , allowed access it. need alias
.
now have no idea setup lets assume have created site in wamp folder structure c:\wamp\www\
or c:\wamp\www\sitename
you need amend https.conf
file adding identify video library , assign access privilages it.
this can go @ bottom of httpd.conf
file after include "c:/wamp/alias/*"
line
alias /videolibrary "d:/downloads/pixar short film collection........ " <directory "d:/downloads/pixar short film collection........ "> options indexes followsymlinks includes execcgi allowoverride order allow,deny allow </directory>
you can address individual videos in library html as
/videolibrary/video1.xxx
using alias videolibrary
setup above , not
"d:/downloads/pixar short film collection........ ".
Comments
Post a Comment