home | list info | list archive | date index | thread index

Re: bind mount to allow web server to access files outside of device with DocumentRoot

  • Subject: Re: bind mount to allow web server to access files outside of device with DocumentRoot
  • From: J C Nash <profjcnash [ at ] gmail [ dot ] com>
  • Date: Tue, 16 Apr 2019 13:48:55 -0400
I should possibly have added that I don't want the access to be automatic. Certainly
for automatic access, that would be the way to go. My problem was finding the way to
get the access. I tried a number of solutions with permissions and symlinks and "alias"
in the .conf file for the web server, several suggested in various postings on the net
before the bind-mount suggestion resolved the problem nicely.

Best, JN

On 2019-04-16 1:45 p.m., Charles Nadeau wrote:
> Pr. Nash,
> 
> Or you could do it from your /etc/fstab: https://serverfault.com/questions/613179/how-do-i-do-mount-bind-in-etc-fstab
> 
> Charles
> 
> On Tue, Apr 16, 2019 at 7:40 PM J C Nash <profjcnash [ at ] gmail [ dot ] com <mailto:profjcnash [ at ] gmail [ dot ] com>> wrote:
> 
>     I've put up some notes on this at
> 
>     https://wiki.linux-ottawa.org/doku.php?id=technical
> 
>     If anyone has comments/edits, please let us know. Can either do the edit or
>     provide a login.
> 
>     Thanks to Alex P. for suggestion. (Alex: for some reason your email is now dead,
>     and DNS does not find your domain.)
> 
>     Cheers, JN
> 
>     To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org <mailto:linux%2Bunsubscribe [ at ] linux-ottawa [ dot ] org>
>     To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org <mailto:linux%2Bhelp [ at ] linux-ottawa [ dot ] org>
>     To visit the archives: https://lists.linux-ottawa.org
> 
> 
> 
> -- 
> Charles Nadeau Ph.D.
> http://charlesnadeau.blogspot.com/

To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org
To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org
To visit the archives: https://lists.linux-ottawa.org