I have a NFS mount at /mnt/web/ on OpenBSD 5.2.
How can I mount this so it's accessible to the web?
Currently I'm soft linking it to /var/www/web
ln -s /mnt/web /var/www/web
I've added an alias directive in the apache config like so:
Alias /web/ "/var/www/web/" Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all
The ownership shows that everyone should have read and execute. What am I doing wrong? Apache says:
Not Found The requested URL /web was not found on this server.
Is it possible that OpenBSD's default chroot'd apache configuration doesn't allow this?
I was able to access the NFS share when linked to the /var/www/users directory and apache configured with the "UserDir" option.
It works when Apache is run without chroot enabled ...so, my next question: How can I get this to work within chroot?
I changed the mount location and
mount options and now it works [ see my answer below ]. But I'd like advice on optimal permissions. These are static files only. Who should own these files?