Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to create a website using HTTP which list all of the contains of my NFS shared drive to the public ?

my goal is to provide file access through HTTP to all of my NFS shared drive that i dedicate for public access.


share|improve this question
up vote 2 down vote accepted

Sure, just make sure that mod_autoindex is enabled, and then in your Apache config, just make sure your NFS directory is within your apache DocumentRoot (or a proper alias created), and then allow Indexes for wherever you have your NFS path:

<Directory /path/to/nfs/mount>
    Options +Indexes
share|improve this answer
Cool, thanks for the quick reply, usually i access this drive using "\\IPaddress\shared_vol" in windows so i must figure it out how to mount it first on linux. – Server System Specialist Nov 3 '10 at 2:01
root@sv6:/etc/apache2# showmount clnt_create: RPC: Program not registered <br> root@sv6:/etc/apache2# showmount -e clnt_create: RPC: Port mapper failure - RPC: Unable to receive root@sv6:/etc/apache2# – Server System Specialist Nov 3 '10 at 2:08
@Albert - are you sure NFS is enabled on your file server? If you've been accessing it via a UNC path (\\server\share\), then that's using over CIFS, not NFS. – EEAA Nov 3 '10 at 2:22
thanks for the quick reply, it seems that the NFS is not installed in the DNS-323 NAS aplliance. – Server System Specialist Nov 3 '10 at 3:19

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.