By mikegnade
Hey I recently created a block storage volume and successfully moved all of my websites /videos folder to the volume and then used an Apache alias to successfully point to this repository. The problem is that my php script that processes the video is no longer accessible via the web with the alias in Apache. So I’ve undone the alias while I wait for an answer on the best way to expand a droplet/website with storage. I haven’t been able to find an answer on how to run php scripts on the block storage volume. Any help is much appreciated.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I would probably create a symbolic link: ln -s /blockstorage/video-folder /var/www/html/web-video-folder Remember not to add slashes to the end, since it’s a folder. And the web-video-folder is not allowed to exists, since that would be the link blockstorage. If you want to remove the link again, just use this: unlink /var/www/html/web-video-folder
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.