2

I have a default OpenBSD 5.1 install. How Can I enabled httpd, OK.

QUESTION: How can I use the

/dev/sd0a on /mnt/usbhdd type ffs (local, nodev)

instead of the default "/var/www" directory? What are the most secure mount options (for a webservers that only servers static html/files)?

2
  • 6
    Either mount /dev/sd0a to /var/www or configure your web server to use /mnt/usbhdd instead of /var/www. Commented Oct 29, 2012 at 11:41
  • "mount /dev/sd0a to /var/www" - :D thanks, afaik this will be the thing :) .. but if I do this, no other things needed?? only mount to /var/www and use it with good user/group? nothing else? Commented Oct 29, 2012 at 17:07

1 Answer 1

1

Either mount /dev/sd0a to /var/www or configure your web server to use /mnt/usbhdd instead of /var/www. – Marco Oct 29 '12 at 11:41

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.