Can a S3 mount be used as the document root for Apache?
Posted
by
Hesse
on Server Fault
See other posts from Server Fault
or by Hesse
Published on 2012-09-01T18:35:55Z
Indexed on
2012/09/01
21:40 UTC
Read the original article
Hit count: 213
Has anyone been successful in having their DocumentRoot reside on an S3 mount (using s3fs)?
I currently have a mounted bucket at /mnt/s3. I can read and write files to it no problem. In my httpd.conf I have DocumentRoot "/mnt/s3".
When I restart Apache I get the error "DocumentRoot must be a directory".
Has anyone tried something similar. My goal is to have a shared storage space so my nodes can scale easily and access the same document root.
Thanks
© Server Fault or respective owner