iantresman
Basic Pleskian
When I create a new subscription, I'd like my default home page to include a couple of videos that are accessed from a single location. I don't want to duplicate each on in every subscription, eg. my subscriptions/domains:
/var/www/vhosts/mylibrary/files/
/var/www/vhosts/domain1.com/httpdocs/
/var/www/vhosts/domain1.com/domain2.com/
/var/www/vhosts/domain3.com/httpdocs/
And then each domain would have an index.htm contain an HTML5 snippet like this:
<video src="/var/www/vhosts/mylibrary/files/movie.webm" poster="movie.jpg" controls>
This is fallback content to display if the browser
does not support the video element.
</video>
Ideally I'd like to use htaccess to alias a /video directory to /var/www/vhosts/mylibrary/files/, eg.
<video src="/videos/movie.webm" poster="movie.jpg" controls>
This is fallback content to display if the browser
does not support the video element.
</video>
Can this be done? I've tried various options, but I can't see to alias outside my webspace.
/var/www/vhosts/mylibrary/files/
/var/www/vhosts/domain1.com/httpdocs/
/var/www/vhosts/domain1.com/domain2.com/
/var/www/vhosts/domain3.com/httpdocs/
And then each domain would have an index.htm contain an HTML5 snippet like this:
<video src="/var/www/vhosts/mylibrary/files/movie.webm" poster="movie.jpg" controls>
This is fallback content to display if the browser
does not support the video element.
</video>
Ideally I'd like to use htaccess to alias a /video directory to /var/www/vhosts/mylibrary/files/, eg.
<video src="/videos/movie.webm" poster="movie.jpg" controls>
This is fallback content to display if the browser
does not support the video element.
</video>
Can this be done? I've tried various options, but I can't see to alias outside my webspace.